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

AF SDK Reference

AFAnalysis.SetStatus Method (AFStatus)

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFAnalysis.SetStatus Method (AFStatus)
Set the analysis Status property immediately in the server.

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

Syntax

public void SetStatus(
	AFStatus status
)
Public Sub SetStatus ( 
	status As AFStatus
)

Dim instance As AFAnalysis
Dim status As AFStatus

instance.SetStatus(status)
public:
void SetStatus(
	AFStatus status
)
member SetStatus : 
        status : AFStatus -> unit 

Parameters

status
Type: OSIsoft.AF.AnalysisAFStatus
The new AFStatus for the analysis.

Remarks

Changing the analysis Status using this method sets the value in the PI AF Server immediately and does not require the analysis to be checked out or checked in.
Important note Important
When setting the Status, it is more efficient to call this method to reduce the number of calls to the PI AF Server.

Version Information

AFSDK


See Also

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