Share via


GetError method of the CIM_ConcreteJob class

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

Syntax

uint32 GetError(
  [out] CIM_Error 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 2016
Namespace
Root\Microsoft\Windows\StorageReplica
MOF
WVRCimProv.Mof
DLL
WvrCimProv.dll

See also

CIM_ConcreteJob