次の方法で共有


GetError method of the MSFT_SrJob class

[Some information relates to pre-released product which may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.]

Returns a CIM_Error instance if the MSFT_SrJob 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

MSFT_SrJob