AFCase.Reset Method (AFAttribute)
- Last UpdatedJan 12, 2026
- 2 minute read
- PI System
- AF SDK 3.2.0
- Developer
This method resets an attribute in an analysis case.
Namespace: OSIsoft.AF.Analysis
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.2.0.7
Syntax
public void Reset( AFAttribute attribute )
Public Sub Reset ( attribute As AFAttribute ) Dim instance As AFCase Dim attribute As AFAttribute instance.Reset(attribute)
public: void Reset( AFAttribute^ attribute )
member Reset : attribute : AFAttribute -> unit
Parameters
- attribute
- Type: OSIsoft.AF.AssetAFAttribute
The attribute to remove from the result set.
Exceptions
| Exception | Condition |
|---|---|
| InvalidOperationException | An exception is thrown if the AFResult associated with the specified attribute has an AFAdjustment. |
Remarks
This method will reset results for the specified AFAttribute
generated while executing an analysis case run.