StopService method of the Msvm_CollectionManagementService class

Stops the service.

Syntax

uint32 StopService();

Parameters

This method has no parameters.

Return value

Returns 0 if successful; otherwise, returns an error.

Completed with No Error (0)

Not supported (1)

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

Msvm_CollectionManagementService