IMsRdpDeviceCollection2::RedirectNow 方法

强制重定向或删除已从集合中选择或未选择的设备。

语法

HRESULT RedirectNow(
  [in] RedirectDeviceType Type
);

parameters

键入 [in]

类型: RedirectDeviceType

RedirectDeviceType 枚举的值,指定要重定向的设备类型。

返回值

类型: HRESULT

如果此方法成功,则返回 S_OK。 否则,它将返回 HRESULT 错误代码。

要求

要求
最低受支持的客户端
Windows 8
最低受支持的服务器
Windows Server 2012
类型库
MsTscAx.dll
DLL
MsTscAx.dll

另请参阅

RedirectDeviceType

IMsRdpDeviceCollection2