AFNotification.GetStatus Method
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
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: AFStatusReturns 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.