Share via


IMsRdpClientAdvancedSettings2 (Compact 7)

3/12/2014

This interface includes methods to retrieve and set advanced (optional) properties for the Remote Desktop ActiveX control.

Methods

This interface inherits the methods from the IUnknown and IMsRdpClientAdvancedSettings interfaces. In addition, this interface defines the following methods.

Method Description

get_CanAutoReconnect

Retrieves whether the client control is able to reconnect automatically to the current session in the event of a network disconnection.

put_EnableAutoReconnect

Sets whether to enable the client control to reconnect automatically to a session in the event of a network disconnection.

get_EnableAutoReconnect

Retrieves whether to enable the client control to reconnect automatically to a session in the event of a network disconnection.

put_MaxReconnectAttempts

Sets the number of times to try to reconnect during automatic reconnection.

get_MaxReconnectAttempts

Retrieves the number of times to try to reconnect during automatic reconnection.

Properties

This interface defines the following properties. The preceding table includes access methods for these properties.

Property Access type Description

CanAutoReconnect

Read-only

Specifies whether the client control is able to reconnect automatically to the current session in the event of a network disconnection.

EnableAutoReconnect

Read/write

Specifies whether to enable the client control to reconnect automatically to a session in the event of a network disconnection.

MaxReconnectAttempts

Read/write

Specifies the number of times to try to reconnect during automatic reconnection. The valid values of this property are 0 to 200 inclusive.

Remarks

This interface has been extended by the following interfaces, with each new interface inheriting all the methods and properties of the previous interfaces:

Requirements

Header

mstsax.h,
mstsax.idl

Library

Mstsax.lib

See Also

Reference

Remote Desktop ActiveX Control Interfaces
IMsRdpClientAdvancedSettings
IMsTscAdvancedSettings