次の方法で共有


StartService method of the CIM_Service class

Starts the service.

The StartService method puts the service in a started state.

Syntax

uint32 StartService();

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