IProgram::ExecutionState is a read-only property, in Configuration Manager, that indicates the state of the program execution.
[IDL] HRESULT ExecutionState([out, retval] tagProgramExecutionState* pVal); |
Parameters
- pVal
- Data type: tagProgramExecutionStateQualifiers: [out,
retval]Pointer to a description of the state. Possible values are:
0
eExecuteSuccess
The program has run successfully in the past
1
eExecuteFailed
The program failed to run successfully in the past
2
eExecuteNone
The program has never run
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.
See Also
Send comments about this topic to Microsoft.