Partager via


StartService method of the CIM_SwitchService 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

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

See also

CIM_SwitchService