AdsConnection.IsConnected Property

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.

Namespace:  TwinCAT.Ads
Assembly:  TwinCAT.Ads (in TwinCAT.Ads.dll) Version: 4.3.0.0

Syntax

C#

public bool IsConnected { get; }

VB

Public ReadOnly Property IsConnected As Boolean
    Get

Property Value

Type: Boolean
true if this instance is connected; otherwise, false.

Implements

IConnection.IsConnected

Reference

AdsConnection Class

TwinCAT.Ads Namespace