次の方法で共有


StopService method of the Msvm_ImageManagementService class

Stops the service.

The StopService method stops the service represented by the object derived from CIM_Service.

Syntax

uint32 StopService();

Parameters

This method has no parameters.

Return value

Returns "0" on success, otherwise returns a WMI error code.

Requirements

Namespace
Root\virtualization
MOF
WindowsVirtualization.mof

See also

CIM_Service

Msvm_ImageManagementService