共用方式為


StopService method of the CIM_ResourcePoolConfigurationService 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

Minimum supported client
None supported
Minimum supported server
Windows Server 2016
Namespace
Root\HyperVCluster\v2
Header
Sdoias.h
MOF
WindowsHyperVCluster.V2.mof
DLL
VMMS.exe

See also

CIM_ResourcePoolConfigurationService