AFNotificationRule.GetStatus Method
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
Get the Status property immediately from 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 AFNotificationRule 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 Status using this method gets the value from the
PI AF Server immediately and does not require the AFNotificationRule to be refreshed and does not
update any other properties of the AFNotificationRule. Only the Status property
will be updated.