指定与连接关联的重定向设置。
语法
typedef enum __MIDL___MIDL_itf_tsgpolicyengine_0000_0000_0005 {
EnableAllRedirections = 0,
DisableAllRedirections,
DriveRedirectionDisabled,
PrinterRedirectionDisabled,
PortRedirectionDisabled,
ClipboardRedirectionDisabled,
PnpRedirectionDisabled,
AllowOnlySDRServers
} PolicyAttributeType;
常量
EnableAllRedirections值: 0 为所有设备启用设备重定向。 |
DisableAllRedirections为所有设备禁用设备重定向。 |
DriveRedirectionDisabled禁用驱动器重定向。 |
PrinterRedirectionDisabled禁用打印机重定向。 |
PortRedirectionDisabled禁用端口重定向。 |
ClipboardRedirectionDisabled禁用剪贴板重定向。 |
PnpRedirectionDisabled禁用即插即用设备重定向。 |
AllowOnlySDRServers仅允许连接到支持安全设备重定向的服务器。 |
要求
| 要求 | 值 |
|---|---|
| 最低受支持的客户端 | Windows 7 |
| 最低受支持的服务器 | Windows Server 2008 R2 |
| 标头 | tsgpolicyengine.h |