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: 2.10.8.440
Syntax
public event EventHandler<PIConnectFailedEventArgs> ConnectFailed

Value

Type: SystemEventHandlerPIConnectFailedEventArgs
Remarks
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.
Examples
For an example of how to handle events, see Event Example.
Version Information

AFSDK

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