Msvm_CollectionManagementService class

Manages the collections on the Hyper-V host.

The following syntax is simplified from Managed Object Format (MOF) code and includes all of the inherited properties.

Syntax

[Dynamic, Provider("VmmsWmiInstanceAndMethodProvider"), AMENDMENT]
class Msvm_CollectionManagementService : CIM_Service
{
};

Members

The Msvm_CollectionManagementService class has these types of members:

Methods

The Msvm_CollectionManagementService class has these methods.

Method Description
AddMember Adds the specified ManagedElement as a member of the given CIM_CollectionOfMSEs object.
DefineCollection Creates a new CIM_CollectionOfMSEs object.
DestroyCollection Deletes the given CIM_CollectionOfMSEs object.
RemoveMember Removes the specified ManagedElement as a member of the given CIM_CollectionOfMSEs object.
RemoveMemberById Removes the specified ManagedElement as a member of the CIM_CollectionOfMSEs with the given identifier. This will succeed even if the object with that identifier is not present.
RenameCollection Updates the ElementName the given CIM_CollectionOfMSEs object.
StartService Starts the service.
StopService Stops the service.

Requirements

Requirement Value
Minimum supported client
Windows 10 [desktop apps only]
Minimum supported server
Windows Server 2016
Namespace
Root\virtualization\v2
MOF
WindowsVirtualization.V2.mof
DLL
Vmms.exe

See also

CIM_Service