AFCase.Reset Method (AFAttribute)
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
This method resets an attribute in an analysis case.
Namespace: OSIsoft.AF.Analysis
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
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.