AFNotification.GetStatus Method (IList(AFNotification))
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
Get the status for the list of notifications from the PI AF Server.
Namespace: OSIsoft.AF.Notification
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public static void GetStatus( IList<AFNotification> notifications )
Public Shared Sub GetStatus ( notifications As IList(Of AFNotification) ) Dim notifications As IList(Of AFNotification) AFNotification.GetStatus(notifications)
public: static void GetStatus( IList<AFNotification^>^ notifications )
static member GetStatus : notifications : IList<AFNotification> -> unit
Parameters
- notifications
- Type: System.Collections.GenericIListAFNotification
The list of notifications to have their Status read from the PI AF Server.
Remarks
This method will get the status for all the notifications in the list in a single call to the PI AF Server.
This is more efficient than refreshing each notification and then getting its Status property.
When this method returns, each notification in the list will have its Status property updated
with the value read from the server but no other properties of the notification will be updated.