Partilhar via


ICCMTargetedUpdate::GetState Method

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

The GetState method, in Configuration Manager, gets the software update presence state.

[IDL]
HRESULT GetState(
     LONG*  pnlPresenceState
);

Parameters

  • pnlPresenceState
    Data type: LONG

    Qualifiers: [out, retval]

    Pointer to the presence state of the software update. Possible values are shown below. This parameter must not be set to a null pointer.

    0

    ciNotPresent

    1

    ciPresent

    2

    ciNotApplicable

    3

    ciPresenceUnknown

    4

    ciEvaluationError

    5

    ciNotEvaluated

Return Values

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

  • S_OK
    The method succeeded.

Requirements

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

ICCMTargetedUpdate Interface