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

AF SDK Reference

AFCase.Reset Method (Boolean, Boolean, AFAttribute)

AFCase.Reset Method (Boolean, Boolean, AFAttribute)

  • Last UpdatedNov 18, 2025
  • 3 minute read
AFCase.Reset Method (Boolean, Boolean, AFAttribute)

Note: This API is now obsolete.

This method resets the results generated in an analysis case.

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

Syntax

[BrowsableAttribute(false)]
[ObsoleteAttribute("This method has been replaced by Reset(bool,bool) or Reset(AFAttribute).")]
public void Reset(
	bool resetInputs,
	bool resetOutputs,
	AFAttribute attribute
)
<BrowsableAttribute(false)>
<ObsoleteAttribute("This method has been replaced by Reset(bool,bool) or Reset(AFAttribute).")>
Public Sub Reset ( 
	resetInputs As Boolean,
	resetOutputs As Boolean,
	attribute As AFAttribute
)

Dim instance As AFCase
Dim resetInputs As Boolean
Dim resetOutputs As Boolean
Dim attribute As AFAttribute

instance.Reset(resetInputs, resetOutputs, 
	attribute)
public:
[BrowsableAttribute(false)]
[ObsoleteAttribute(L"This method has been replaced by Reset(bool,bool) or Reset(AFAttribute).")]
void Reset(
	bool resetInputs, 
	bool resetOutputs, 
	AFAttribute^ attribute
)
[<BrowsableAttribute(false)>]
[<ObsoleteAttribute("This method has been replaced by Reset(bool,bool) or Reset(AFAttribute).")>]
member Reset : 
        resetInputs : bool * 
        resetOutputs : bool * 
        attribute : AFAttribute -> unit 

Parameters

resetInputs
Type: SystemBoolean
If , then inputs are cleared from the result set. Resetting of Inputs and Outputs is typically done before re-collecting inputs because existing Inputs will not be overwritten during CollectInputs Resetting inputs before checking in a completed case can significantly reduce storage requirements for a case.
resetOutputs
Type: SystemBoolean
If , then output results are cleared from the result set. Resetting of outputs is typically done before re-running a case.
attribute
Type: OSIsoft.AF.AssetAFAttribute
The attribute to remove from the result set.

Remarks

This method is obsolete and has been replaced by the Reset(bool, bool) and Reset(AFAttribute) methods.

Version Information

AFSDK

Obsolete (compiler warning) in 3.1.1
Obsolete (compiler warning) in 3.1.0
Obsolete (compiler warning) in 3.0.2
Obsolete (compiler warning) in 3.0.1
Obsolete (compiler warning) in 3.0.0
Obsolete (compiler warning) in 2.10.11
Obsolete (compiler warning) in 2.10.5
Obsolete (compiler warning) in 2.10.0
Obsolete (compiler warning) in 2.10
Obsolete (compiler warning) in 2.9.5
Obsolete (compiler warning) in 2.9
Obsolete (compiler warning) in 2.8.5
Obsolete (compiler warning) in 2.8
Obsolete (compiler warning) in 2.7.5
Obsolete (compiler warning) in 2.7
Obsolete (compiler warning) in 2.6
Obsolete (compiler warning) in 2.5
Obsolete (compiler warning) in 2.4

See Also

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