IMsRdpClient10 接口

提供配置和使用客户端控件所需的方法和属性。 派生自 IMsRdpClient9 接口。

成员

IMsRdpClient10 接口继承自 IMsRdpClient9IMsRdpClient10 还具有以下类型的成员:

方法

IMsRdpClient10 接口包含以下方法。

方法 说明
attachEvent 附加事件。
detachEvent 分离事件。
GetErrorDescription 检索会话断开连接事件的错误说明。
GetStatusText 检索指定状态代码的状态文本。
GetVirtualChannelOptions 检索为虚拟通道设置的选项。
重新连接 使用新的桌面宽度和高度重新连接到远程会话。
RequestClose 请求正常关闭远程桌面 ActiveX 控件。
SendRemoteAction 导致在远程会话中执行操作。
SetVirtualChannelOptions 设置远程桌面 ActiveX 控件的虚拟通道选项。
SyncSessionDisplaySettings 同步会话显示设置。
UpdateSessionDisplaySettings 汇报会话显示设置。

属性

IMsRdpClient10 接口具有以下属性。

属性 访问类型 说明
AdvancedSettings2
只读
检索指向 IMsRdpClientAdvancedSettings 接口的 指针。 接口可用于设置客户端控件的高级设置。
AdvancedSettings3
只读
检索指向 IMsRdpClientAdvancedSettings2 接口的 指针。 接口可用于设置客户端控件的高级设置。
AdvancedSettings4
只读
检索指向 IMsRdpClientAdvancedSettings3 接口的 指针。
AdvancedSettings5
只读
检索指向 IMsRdpClientAdvancedSettings4 接口的 指针。
AdvancedSettings6
只读
检索 IMsRdpClientAdvancedSettings5 接口。
AdvancedSettings7
只读
检索 IMsRdpClientAdvancedSettings6 接口。
AdvancedSettings8
只读
检索支持 IMsRdpClientAdvancedSettings7 接口的对象
AdvancedSettings9
只读
包含支持 IMsRdpClientAdvancedSettings8 接口的对象
ColorDepth
读取/写入
控件连接的颜色深度 (位/像素) 。
ConnectedStatusText
读取/写入
包含控件处于连接状态时显示在控件工作区中的文本。
ExtendedDisconnectReason
只读
包含有关控件断开连接原因的扩展信息。
全屏
读取/写入
确定客户端控件是否处于全屏模式。
MsRdpClientShell
只读
检索可编写脚本的客户端设置接口 IMsRdpClientShell
RemoteProgram
只读
检索支持 ITSRemoteProgram 接口的对象。
RemoteProgram2
只读
检索支持 ITSRemoteProgram2 接口的对象。
RemoteProgram3
只读
一个支持 ITSRemoteProgram3 接口的对象。
SecuredSettings2
只读
检索指向 IMsRdpClientSecuredSettings 接口的 指针。 此接口可用于设置客户端控件的安全设置。
SecuredSettings3
只读
检索支持 IMsRdpClientSecuredSettings2 接口的对象。
TransportSettings
只读
检索通过脚本传递到 IMsRdpClientTransportSettings 接口的内容。
TransportSettings2
只读
检索 IMsRdpClientTransportSettings2 接口。
TransportSettings3
只读
检索支持 IMsRdpClientTransportSettings3 接口的对象
TransportSettings4
只读
检索支持 IMsRdpClientTransportSettings4 接口的 对象。

备注

有关远程桌面 Web 连接的详细信息,请参阅 远程桌面 Web 连接的要求

要求

要求
最低受支持的客户端
Windows 10 [仅限桌面应用]
最低受支持的服务器
Windows Server 2016
类型库
MsTscAx.dll
DLL
MsTscAx.dll
CLSID
CLSID_MsRdpClient10定义为 C0EFA91A-EEB7-41C7-97FA-F0ED645EFB24
CLSID_MsRdpClient10NotSafeForScripting定义为 A0C63C30-F08D-4AB4-907C-34905D770C7D
IID
IID_IMsRdpClient10定义为 7ED92C39-EB38-4927-A70A-708AC5A59321

另请参阅

IMsRdpClient9

IMsRdpClient8

IMsRdpClient7

IMsRdpClient6

IMsRdpClient5

IMsRdpClient4

IMsRdpClient3

IMsRdpClient2

IMsRdpClient

IMsTscAx

远程桌面 Web 连接参考