Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AF SDK Reference

PISystem.LogOut Method

  • Last UpdatedNov 18, 2025
  • 2 minute read
PISystem.LogOut Method
Logs out the current OIDC user and disconnects all associated open connections to the PI AF Server.

Namespace:  OSIsoft.AF
Assembly:  OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182

Syntax

public void LogOut()
Public Sub LogOut

Dim instance As PISystem

instance.LogOut()
public:
void LogOut()
member LogOut : unit -> unit 

Events

Event TypeReason
PISystemConnectChanged This event will be raised when the connection status for the PISystem changes.

Version Information

AFSDK

Supported in: 3.1.1, 3.1.0

See Also

In This Topic
Related Links
TitleResults for “How to create a CRG?”Also Available in