StopService method of the CIM_Service class (Hyper-V management)
Paces the service in the stopped state.
Note
The semantics of this method overlap with the RequestStateChange method that is inherited from CIM_EnabledLogicalElement. This method is maintained because it has been widely implemented, and its simple "stop" semantics are convenient to use.
Syntax
uint32 StopService();
Parameters
This method has no parameters.
Return value
Returns a 0 on success; otherwise, returns an error.
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows 8.1 |
Minimum supported server |
Windows Server 2012 R2 |
Namespace |
Root\virtualization\v2 |
MOF |
|
DLL |
|