Hyper-V ホスト上のコレクションを管理します。
次の構文はマネージド オブジェクト フォーマット (MOF) のコードを単純化したもので、すべての継承されたプロパティを含みます。
構文
[Dynamic, Provider("VmmsWmiInstanceAndMethodProvider"), AMENDMENT]
class Msvm_CollectionManagementService : CIM_Service
{
};
メンバー
Msvm_CollectionManagementService クラスには、次の種類のメンバーがあります。
メソッド
Msvm_CollectionManagementService クラスには、これらのメソッドがあります。
| メソッド | 説明 |
|---|---|
| AddMember | 指定した ManagedElement を、指定した CIM_CollectionOfMSEs オブジェクトのメンバーとして追加します。 |
| DefineCollection | 新しい CIM_CollectionOfMSEs オブジェクトを 作成します。 |
| DestroyCollection | 指定したCIM_CollectionOfMSEs オブジェクト を 削除します。 |
| RemoveMember | 指定した ManagedElement を、指定した CIM_CollectionOfMSEs オブジェクトのメンバーとして削除します。 |
| RemoveMemberById | 指定された識別子を持つ CIM_CollectionOfMSEs のメンバーとして、指定された ManagedElement を削除します。 これは、その識別子を持つオブジェクトが存在しない場合でも成功します。 |
| RenameCollection | 指定したCIM_CollectionOfMSEs オブジェクトの ElementName を更新します。 |
| StartService | サービスを開始します。 |
| Stopservice | サービスを停止します。 |
要件
| 要件 | 値 |
|---|---|
| サポートされている最小のクライアント |
Windows 10 [デスクトップ アプリのみ] |
| サポートされている最小のサーバー |
Windows Server 2016 |
| 名前空間 |
Root\virtualization\v2 |
| MOF |
|
| [DLL] |
|