Share via


IMsRdpClientAdvancedSettings::put_ConnectToServerConsole (Windows Embedded CE 6.0)

1/6/2010

This method specifies whether the ActiveX client control should attempt to connect to the console session of a server.

Syntax

HRESULT put_ConnectToServerConsole( 
    VARIANT_BOOL connectToServerConsole
);

Parameters

  • connectToServerConsole
    [in] Specifies whether the ActiveX client control should attempt to connect to the console session of the server.

    Set this parameter to VARIANT_FALSE to specify that the control should not attempt to connect. Set this parameter to VARIANT_TRUE to specify that the control should attempt to connect.

Return Value

Returns S_OK if successful.

Remarks

VARIANT_TRUE (which specifies that the control should attempt to connect to the console) is supported starting with Windows Server 2003.

Requirements

Header mstsax.h, mstsax.idl
Library Mstsax.lib
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

IMsRdpClientAdvancedSettings Methods for Connections, Timeouts, Intervals, and Events
IMsRdpClientAdvancedSettings
IMsRdpClientAdvancedSettings::get_ConnectToServerConsole