Compartir a través de


ICCMUpdatesCollection::GetUpdate 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 GetUpdate method, in Configuration Manager, gets an update object.

[IDL]
HRESULT GetUpdate(
     LONG  nlIndex,
     LPICCMTargetedUpdate*  ppiTargetedUpdate
);

Parameters

  • nlIndex
    Data type: LONG

    Qualifiers: [in]

    A zero-based index into the updates collection.

  • ppiTargetedUpdate
    Data type: LPICCMTargetedUpdate

    Qualifiers: [out, retval]

    Pointer to an ICCMTargetedUpdate Interface update object at the provided index into the collection.

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

ICCMUpdatesCollection Interface
ICCMTargetedUpdate Interface