Partilhar via


IDCMSDK::SetEvaluationCallback 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 IDCMSDK::SetEvaluationCallback method, in Configuration Manager, associates a callback object with an existing evaluation job, specified by job ID.

[IDL]
HRESULT SetEvaluationCallback(
     JobIdRef  jobId,
     IDCMAgentCallback*  pCallback
);

Parameters

  • jobId
    Data type: JobIdRef

    Qualifiers: [in]

    ID of the evaluation job to retrieve.

  • pCallback
    Data type: IDCMAgentCallback

    Qualifiers: [in]

    Pointer to an IDCMAgentCallback Interface object. This parameter can be set to null if no callback is available.

Return Values

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

  • S_OK
    The method succeeded. All other return values indicate failure.

Remarks

The typical way to use this method is to pass null for the pCallback parameter.

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

IDCMSDK Interface
IDCMAgentCallback Interface