Share via


StopService method of the MSISCSITARGET_iSCSIConfigurationService class

Places the Service in the stopped state. Deprecated, instead use the RequestStateChange method. Invoking this method should set the RequestedState property appropriately.

This method is inherited from the CIM_Service class.

Syntax

uint32 StopService();

Parameters

This method has no parameters.

Return value

0

The Service was successfully stopped.

1

The request is not supported.

2 = value

Undefined error.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2012 R2
Namespace
Root\CIMv2\Storage\iScsiTarget
Header
Sdoias.h
MOF
SmIscsiTarget.mof
DLL
SmIScsiTargetProv.dll

See also

MSISCSITARGET_iSCSIConfigurationService