Msvm_CollectionReferencePointService 類別的 CreateReferencePoint 方法
建立虛擬系統集合的參考點。
語法
uint32 CreateReferencePoint(
[in] Msvm_VirtualSystemCollection REF Collection,
[in] string ReferencePointSettings,
[in] uint16 ReferencePointType,
[in, out] CIM_Collection REF ResultingReferencePointCollection,
[out] CIM_ConcreteJob REF Job
);
參數
-
集合 [in]
-
受影響虛擬系統集合的參考。
-
ReferencePointSettings [in]
-
參數設定。
-
ReferencePointType [in]
-
表示參考點的類型。
-
未知 (0)
-
記錄型 (1)
-
Hyper-V 複本記錄追蹤。
-
以 RCT 為基礎的 (2)
-
以虛擬磁片的復原變更追蹤為基礎。
-
DMTF 保留 (。。)
-
廠商特定 (32768..65535)
ResultingReferencePointCollection [in, out]
產生的虛擬系統集合參考點。
作業 [out]
如果作業長時間執行,可以選擇性地傳回作業。
傳回值
如果成功,則傳回 0 (沒有錯誤) ,或 4096 (作業啟動) ;否則,傳回錯誤。
-
已完成,沒有錯誤 (0)
-
不支援 (1)
-
失敗 (2)
-
逾 時 (3)
-
不正確參數 (4)
-
不正確狀態 (5)
-
不正確類型 (6)
-
DMTF 保留 (。。)
-
已檢查方法參數 - 作業啟動 (4096)
-
保留 (4097..32767)
-
廠商特定 (32768..65535)
規格需求
需求 | 值 |
---|---|
最低支援的用戶端 |
Windows 10 [僅限傳統型應用程式] |
最低支援的伺服器 |
Windows Server 2016 |
命名空間 |
Root\virtualization\v2 |
MOF |
|
DLL |
|