AFEventFrame.Unlock Method
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
Unlocks a locked event frame so that further changes can be made.
Namespace: OSIsoft.AF.EventFrame
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public void Unlock()
Public Sub Unlock Dim instance As AFEventFrame instance.Unlock()
public: void Unlock()
member Unlock : unit -> unit
Remarks
This method will unlock a locked event frame so that further changes can be made
by adding back the Write permission. Calling this method will change the
setting in the server and does not require a call to ApplyChanges or CheckIn.
The Lock method can be called by an administrator to lock
an AFEventFrame.
| Must have Admin permission to call this method. |