IProgram::LastExitCode 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
IProgram::LastExitcode is a read-only property, in Configuration Manager, that indicates the last exit code returned by a software program after it ran, and completed with a failure.
[IDL]
HRESULT LastExitCode(BSTR* pVal);
Parameters
pVal
Data type: BSTRQualifiers: [out, retval]
Pointer to the last exit code.
Return Values
An HRESULT code. Possible values include, but are not limited to, the following:
- S_OK
The method succeeded.
Requirements
UIResource.dll.
Runtime Requirements
For more information, see Configuration Manager Client Runtime Requirements.
Development Requirements
For more information, see Configuration Manager Client Development Requirements.