This topic has not yet been rated Rate this topic

IMsRdpClientAdvancedSettings::RedirectPorts property

Specifies if redirection of local ports (for example, COM and LPT) is allowed.

This property is read/write.

Syntax

HRESULT put_RedirectPorts(
  [in]   VARIANT_BOOL redirectPorts
);

HRESULT get_RedirectPorts(
  [out]  VARIANT_BOOL *predirectPorts
);

Property value

Set this parameter to VARIANT_TRUE to allow redirection or VARIANT_FALSE otherwise. VARIANT_TRUE prompts the user to confirm allowing redirection at connection time, for security purposes.

Error codes

Returns S_OK if successful.

Remarks

For more information about Remote Desktop Web Connection, see Requirements for Remote Desktop Web Connection.

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows Server 2003

IID

IID_IMsRdpClientAdvancedSettings is defined as 3c65b4ab-12b3-465b-acd4-b8dad3bff9e2

See also

IMsRdpClientAdvancedSettings2
IMsRdpClientAdvancedSettings3
IMsRdpClientAdvancedSettings4
IMsRdpClientAdvancedSettings5
IMsRdpClientAdvancedSettings

 

 

Send comments about this topic to Microsoft

Build date: 9/7/2011

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ