Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AF SDK Reference

AFAnalysisRule.IsModelAnalysisRule Method

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFAnalysisRule.IsModelAnalysisRule Method
Determines if the specified AFPlugIn only supports an analysis on an AFModel target.

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: Boolean
Returns 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.

Version Information

AFSDK


See Also

In This Topic
TitleResults for “How to create a CRG?”Also Available in