ITsMediaClass::ExitCode Property

Applies To: System Center Configuration Manager 2007, System Center Configuration Manager 2007 R2, System Center Configuration Manager 2007 R3, System Center Configuration Manager 2007 SP1, System Center Configuration Manager 2007 SP2

In Configuration Manager, the ExitCode property contains the exit code for asynchronous task sequence media creation.

[IDL]
HRESULT ExitCode([out,retval] long* Result);

Parameters

  • Result
    Data type: long

    Qualifiers: [out, retval]

    Pointer to the exit code.

Return Values

An HRESULT code. Possible values include, but are not limited to, the following value.

  • S_OK
    The method succeeded.

Remarks

The task sequence media creation methods, for example, ITsMediaClass::CreateBootMedia Method, use this property to get the correct return value when the ITsMediaClass::Status Property property is set to 0.

See Also

Concepts

ITsMediaClass Interface
ITsMediaClass::CreateBootMedia Method
ITsMediaClass::Status Property