AFNotificationRule.SetStatus Method (AFStatus)
- Last UpdatedJan 12, 2026
- 2 minute read
- PI System
- AF SDK 3.2.0
- Developer
Set the Status property immediately in the server.
Namespace: OSIsoft.AF.Notification
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.2.0.7
Syntax
public void SetStatus( AFStatus newStatus )
Public Sub SetStatus ( newStatus As AFStatus ) Dim instance As AFNotificationRule Dim newStatus As AFStatus instance.SetStatus(newStatus)
public: void SetStatus( AFStatus newStatus )
member SetStatus : newStatus : AFStatus -> unit
Parameters
- newStatus
- Type: OSIsoft.AF.AnalysisAFStatus
The new AFStatus for the AFNotificationRule.
Remarks
Changing the Status using this method sets the value in the
PI AF Server immediately and does not require the AFNotificationRule to be checked out or checked in.