Click or drag to resize
OSIsoft, LLC

PIServerDisconnect Method

Close a connection to the PI Data Archive.

Namespace:  OSIsoft.AF.PI
Assembly:  OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version:
public void Disconnect()
Closing a connection to the PI Data Archive can allow the SDK to free up resources when access to the server is no longer needed. This method is also used when an application already connected to a server wishes to connect as a different user.
Version Information


Supported in: 2.10.5, 2.10, 2.9.5, 2.9, 2.8.5, 2.8, 2.7.5, 2.7, 2.6, 2.5
See Also
Enabling Operational Intelligence