Share via


DeviceConnectionChangeTrigger.MaintainConnection Property

Definition

Gets or sets whether the system should automatically attempt to keep the referenced device connected.

public:
 property bool MaintainConnection { bool get(); void set(bool value); };
bool MaintainConnection();

void MaintainConnection(bool value);
public bool MaintainConnection { get; set; }
var boolean = deviceConnectionChangeTrigger.maintainConnection;
deviceConnectionChangeTrigger.maintainConnection = boolean;
Public Property MaintainConnection As Boolean

Property Value

Boolean

bool

True of the system should try to keep the device connected; Otherwise, false. Default is false.

Applies to