State of the connection to the focuser.

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

Syntax

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

Remarks

Must throw an exception if the call was not successful

Must be implemented

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.

Do not use a NotConnectedException here, that exception is for use in other methods that require a connection in order to succeed.

See Also