Connected Property
Description
Checks if the Open Test Architecture API server connection is initialized.
Property type
Read-only property
Syntax
Visual Basic
Public Property Connected As Boolean
Remarks

Connected is True after a successful call to InitConnectionEx. It is False after a call to ReleaseConnection.

Connected is the status of the connection to the server, not of the connection to a project. To check if a project is connected, use the  ProjectConnected property.

If the connection is broken without a call to ReleaseConnection, this property remains true. This can happen if the connection is broken by the server, rather than by the OTA application.

For a table of properties affected by the state of the connection, see the Remarks for the TDConnection object.

See also:

RefreshConnectionState

See Also