Partager via


StartService method of the MSISCSITARGET_iSCSIConfigurationService class

Places the Service in the started 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 StartService();

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
MOF
SmIscsiTarget.mof
DLL
SmIScsiTargetProv.dll

See also

MSISCSITARGET_iSCSIConfigurationService

CIM_Service