AFAnalysisRuleBehaviors Enumeration
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
The AFDataReferenceMethod is an enumeration of the possible methods which a
data reference supports. It is returned by the
AFDataReference.SupportedMethods property.
Namespace: OSIsoft.AF.Analysis
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
[FlagsAttribute] public enum AFAnalysisRuleBehaviors
<FlagsAttribute> Public Enumeration AFAnalysisRuleBehaviors Dim instance As AFAnalysisRuleBehaviors
[FlagsAttribute] public enum class AFAnalysisRuleBehaviors
[<FlagsAttribute>] type AFAnalysisRuleBehaviors
Members
| Member name | Value | Description | |
|---|---|---|---|
| None | 0 | No analysis rule behaviors are supported. An implemented analysis rule should never return this value. | |
| SupportsRunningCase | 1 | The AFAnalysisRule supports the Run method using CurrentCase. | |
| SupportsStatePassing | 2 | The AFAnalysisRule supports running using the state-passing methods AFAnalysisRule.DefineVariables, AFAnalysisRule.Initialize(AFAnalysisRuleConfiguration), and Run(IAFAnalysisRuleState). | |
| OutputCorrectAfterSkipping | 4 | The analysis rule is stateless so skipping a calculation will not invalidate subsequent evaluations. If this behavior is not supported, the output following a skipped calculation is considered questionable. | |
| SupportsRecoveringState | 8 | The analysis rule supports recovering state using the AFAnalysisRule.RecoverState method. |