Click or drag to resize
OSIsoft, LLC

PIServersConnectFailed Event

Occurs when the connection to a PIServer fails and not performing an auto prompt.

Namespace:  OSIsoft.AF.PI
Assembly:  OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version:
public event EventHandler<PIConnectFailedEventArgs> ConnectFailed


Type: SystemEventHandlerPIConnectFailedEventArgs
This event is raised when the connection to a PIServer fails and a prompt for login to the server is not being performed. This allows the event handler to make an explicit connection to the server and prompt for credentials using the PIServer.ConnectWithPrompt method.
For an example of how to handle events, see Event Example.
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