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

AF SDK Reference

AFNotification.GetStatus Method

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFNotification.GetStatus Method
Get the notification's Status property immediately in the PI AF Server.

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

Syntax

public AFStatus GetStatus()
Public Function GetStatus As AFStatus

Dim instance As AFNotification
Dim returnValue As AFStatus

returnValue = instance.GetStatus()
public:
AFStatus GetStatus()
member GetStatus : unit -> AFStatus 

Return Value

Type: AFStatus
Returns the status read from the PI AF Server.

Remarks

Getting the notification Status using this method gets the value from the PI AF Server immediately and does not require the notification to be refreshed and does not update any other properties of the notification. Only the Status property will be updated.

Version Information

AFSDK

Supported in: 3.1.1, 3.1.0, 3.0.2, 3.0.1, 3.0.0, 2.10.11, 2.10.5, 2.10.0, 2.10, 2.9.5, 2.9, 2.8.5, 2.8, 2.7.5, 2.7, 2.6

See Also

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