IProgram::ExecutionState 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::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: tagProgramExecutionState

    Qualifiers: [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

Concepts

Program Class