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);
- Data type: BSTRQualifiers: [out, retval]Pointer to the last exit code.
An HRESULT code. Possible values include, but are not limited to, the following:
- The method succeeded.
For more information, see Configuration Manager Client Runtime Requirements.
For more information, see Configuration Manager Client Development Requirements.
Send comments about this topic to Microsoft.