StopService method of the CIM_Service class

Places the service in the stopped state.

Syntax

uint32 StopService();

Parameters

This method has no parameters.

Return value

Returns an integer value of 0 if the service was successfully started, 1 if the request is not supported and any other number to indicate an error.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2008
Namespace
Root\MicrosoftNLB
Header
Sdoias.h
MOF
WlbsProv.mof
DLL
WlbsProv.dll

See also

CIM_Service