AFEventFrame.Unlock Method
- Last UpdatedJan 12, 2026
- 2 minute read
- PI System
- AF SDK 3.2.0
- 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.2.0.7
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. |