Share via


GetError method of the MSISCSITARGET_ConcreteJob class

Returns a CIM_Error instance if the MSISCSITARGET_ConcreteJob instance fails or is terminated by a client.

This method is inherited from the CIM_ConcreteJob class.

Syntax

uint32 GetError(
  [out] string Error
);

Parameters

Error [out]

If the OperationalStatus property on the job is not OK, then this method returns a CIM_Error instance. Returns NULL while the job is executing or if the job terminated without error.

Return value

This method returns one of the following values.

Success (0)

Not Supported (1)

Unspecified Error (2)

Timeout (3)

Failed (4)

Invalid Parameter (5)

Access Denied (6)

DMTF Reserved (7 32767)

Vendor Specific (32768 65535)

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_ConcreteJob