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

AF SDK Reference

AFAnalysisRules.Add Method (AFPlugIn)

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFAnalysisRules.Add Method (AFPlugIn)
This methods adds an Analysis Rule defined by the specified PlugIn to the model analysis.

Namespace:  OSIsoft.AF.Analysis
Assembly:  OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182

Syntax

public AFAnalysisRule Add(
	AFPlugIn plugIn
)
Public Function Add ( 
	plugIn As AFPlugIn
) As AFAnalysisRule

Dim instance As AFAnalysisRules
Dim plugIn As AFPlugIn
Dim returnValue As AFAnalysisRule

returnValue = instance.Add(plugIn)
public:
AFAnalysisRule^ Add(
	AFPlugIn^ plugIn
)
member Add : 
        plugIn : AFPlugIn -> AFAnalysisRule 

Parameters

plugIn
Type: OSIsoft.AFAFPlugIn
The AnalysisRule PlugIn to add to the collection.

Return Value

Type: AFAnalysisRule
Returns the newly created Analysis Rule that was added to the collection.

Version Information

AFSDK


See Also

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