AFAnalysisRule.IsModelAnalysisRule Method
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
Namespace: OSIsoft.AF.Analysis
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public static bool IsModelAnalysisRule( AFPlugIn plugIn )
Public Shared Function IsModelAnalysisRule ( plugIn As AFPlugIn ) As Boolean Dim plugIn As AFPlugIn Dim returnValue As Boolean returnValue = AFAnalysisRule.IsModelAnalysisRule(plugIn)
public: static bool IsModelAnalysisRule( AFPlugIn^ plugIn )
static member IsModelAnalysisRule : plugIn : AFPlugIn -> bool
Parameters
- plugIn
- Type: OSIsoft.AFAFPlugIn
The AFPlugIn to check if it only supports an analysis on an AFModel target.
Return Value
Type: BooleanReturns if the specified plugIn only supports an analysis with an AFModel target.
Remarks
A plugin can be marked with the AFAnalysisRuleIsModelAnalysisRuleAttribute on the
implementation of the AFAnalysisRule to indicate that it only supports
performing an analysis on an AFModel target.