AFAnalysisRule.GetConfiguration Method (AFObject)
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
Get the configuration defined by this AFAnalysisRule for the specified target.
Namespace: OSIsoft.AF.Analysis
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public AFAnalysisRuleConfiguration GetConfiguration( AFObject target )
Public Function GetConfiguration ( target As AFObject ) As AFAnalysisRuleConfiguration Dim instance As AFAnalysisRule Dim target As AFObject Dim returnValue As AFAnalysisRuleConfiguration returnValue = instance.GetConfiguration(target)
public: AFAnalysisRuleConfiguration^ GetConfiguration( AFObject^ target )
member GetConfiguration : target : AFObject -> AFAnalysisRuleConfiguration
Parameters
- target
- Type: OSIsoft.AFAFObject
A target for the AFAnalysisRule to configure itself against.
Return Value
Type: AFAnalysisRuleConfigurationReturns an object defining the configuration of the AFAnalysisRule for the specified target.