Win32_RdvhManagement 类的 RdvCopyBaseVmLocally 方法

将本地基础虚拟机复制到指定的远程桌面虚拟化 (RDV) 主机服务器。

语法

uint32 RdvCopyBaseVmLocally(
  [in] string BaseVmLocation,
  [in] string FarmName,
  [in] string GoldCacheLocation
);

参数

BaseVmLocation [in]

基本虚拟机位置。

FarmName [in]

要复制到的主机场的名称。

GoldCacheLocation [in]

黄金缓存位置。

返回值

成功时返回 0,否则返回 WMI 错误代码。 有关这些值的列表,请参阅 远程桌面服务 WMI 提供程序错误代码

要求

要求
最低受支持的客户端
无受支持的版本
最低受支持的服务器
Windows Server 2012
命名空间
Root\CIMv2\TerminalServices
MOF
TSVmHost.mof
DLL
TSVmHostWmi.dll

另请参阅

Win32_RdvhManagement