다음을 통해 공유


Msvm_CollectionManagementService 클래스

Hyper-V 호스트에서 컬렉션을 관리합니다.

다음 구문은 MOF(Managed Object Format) 코드를 단순화한 것으로 상속된 속성이 모두 포함되어 있습니다.

구문

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

멤버

Msvm_CollectionManagementService 클래스에는 다음과 같은 유형의 멤버가 있습니다.

메서드

Msvm_CollectionManagementService 클래스에는 이러한 메서드가 있습니다.

메서드 Description
AddMember 지정된 ManagedElement를 지정된 CIM_CollectionOfMSEs 개체의 멤버로 추가합니다.
DefineCollection CIM_CollectionOfMSEs 개체를 만듭니다.
DestroyCollection 지정된 CIM_CollectionOfMSEs 개체를 삭제합니다.
RemoveMember 지정된 ManagedElement를 지정된 CIM_CollectionOfMSEs 개체의 멤버로 제거합니다.
RemoveMemberById 지정된 식별자를 사용하여 지정된 ManagedElement를 CIM_CollectionOfMSEs 멤버로 제거합니다. 식별자가 있는 개체가 없더라도 성공합니다.
RenameCollection 지정된 CIM_CollectionOfMSEs 개체의 ElementName을 업데이트.
StartService 서비스를 시작합니다.
StopService 서비스를 중지합니다.

요구 사항

요구 사항
지원되는 최소 클라이언트
Windows 10 [데스크톱 앱만 해당]
지원되는 최소 서버
Windows Server 2016
네임스페이스
Root\virtualization\v2
MOF
WindowsVirtualization.V2.mof
DLL
Vmms.exe

추가 정보

CIM_Service