State of the connection to the focuser.

Namespace: ASCOM.DriverAccess
Assembly: ASCOM.DriverAccess (in ASCOM.DriverAccess.dll) Version: 6.0.0.0 (6.1.1.2619)

Syntax

C#
public bool Link { get; set; }
Visual Basic
Public Property Link As Boolean
	Get
	Set
Visual C++
public:
virtual property bool Link {
	bool get () sealed;
	void set (bool value) sealed;
}

Implements

IFocuserV2..::..Link

Remarks

Set True to start the connection to the focuser; set False to terminate the connection. The current connection status can also be read back through this property. An exception will be raised if the link fails to change state for any reason.

Note

The FocuserV1 interface was the only interface to name its "Connect" method "Link" all others named their "Connect" method as "Connected". All interfaces including Focuser now have a Connected method and this is the recommended method to use to "Connect" to Focusers exposing the V2 and later interfaces.

Applications using DriverAccess can always use Connected because DriverAccess implements Connected using the Link property for V1 drivers but applications that call the driver directly should check the InterfaceVersion property and call Link for V1 drivers.

See Also