Win32_TSSessionDirectory 類別的 EnableUserVhd 方法

在 RDSH 伺服器上啟用使用者設定檔 VHD。

語法

uint32 EnableUserVhd(
  [in] string UvhdShareUrl,
  [in] string UvhdRoamingPolicyXml
);

參數

UvhdShareUrl [in]

儲存所有使用者設定檔 VHD 的共用位置。

UvhdRoamingPolicyXml [in]

使用者設定檔 VHD 的漫遊原則。

規格需求

需求
最低支援的用戶端
都不支援
最低支援的伺服器
Windows Server 2012
命名空間
Root\CIMv2\TerminalServices
MOF
TSCfgWmi.mof
DLL
TSCfgWmi.dll

另請參閱

Win32_TSSessionDirectory