次の方法で共有


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

RequestStateChange

CIM_Service