AFAnalysisRule.IsCompatibleAsOutput Method
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
This method returns if the specified AFAttributeTemplate
or AFAttribute is compatible as an output.
Namespace: OSIsoft.AF.Analysis
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public static bool IsCompatibleAsOutput( IAFAttribute attribute, out string reason )
Public Shared Function IsCompatibleAsOutput ( attribute As IAFAttribute, <OutAttribute> ByRef reason As String ) As Boolean Dim attribute As IAFAttribute Dim reason As String Dim returnValue As Boolean returnValue = AFAnalysisRule.IsCompatibleAsOutput(attribute, reason)
public: static bool IsCompatibleAsOutput( IAFAttribute^ attribute, [OutAttribute] String^% reason )
static member IsCompatibleAsOutput : attribute : IAFAttribute * reason : string byref -> bool
Parameters
- attribute
- Type: OSIsoft.AF.AssetIAFAttribute
AFAttributeTemplate or AFAttribute being mapped as an output. - reason
- Type: SystemString
Reason for incompatibility.
Return Value
Type: BooleanReturns true if the given AFAttributeTemplate or AFAttribute is compatible as an output.