IMsRdpDrive::RedirectionState property

Indicates the redirection state of the drive.

This property is read/write.

Syntax

HRESULT put_RedirectionState(
  [in]  VARIANT_BOOL vboolRedirState
);

HRESULT get_RedirectionState(
  [out] VARIANT_BOOL *pvboolRedirState
);

Property value

Set this parameter to VARIANT_FALSE. to disable redirection or VARIANT_TRUE. to enable redirection.

Error codes

If the method succeeds, S_OK is returned. Any other HRESULT value indicates that the call failed.

Requirements

Requirement Value
Minimum supported client
Windows Vista
Minimum supported server
Windows Server 2008
Type library
MsTscAx.dll
DLL
MsTscAx.dll
IID
IID_IMsRdpDrive is defined as d28b5458-f694-47a8-8e61-40356a767e46

See also

IMsRdpDrive