IConnection Properties

The IConnection type exposes the following members.

Properties

 

Name

Description

IConnection Properties 1:

IConnection Properties 2:

ConnectionState

Gets the current Connection state of the IConnectionStateProvider (Inherited from IConnectionStateProvider.)

IConnection Properties 3:

Id

Gets the Connection Identifier .

IConnection Properties 4:

IsConnected

Gets a value indicating whether the local ADS port was opened successfully. It does not indicate if the target port is available. Use the method ReadState to determine if the target port is available.

IConnection Properties 5:

Session

Gets the session that initiated this IConnection

IConnection Properties 6:

Timeout

Gets the timeout (in milliseconds)

Reference

IConnection Interface

TwinCAT Namespace