Share via


IDCMSDK::EvaluateBaseline 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::EvaluateBaseline method, in Configuration Manager, runs the discover operation for the specified baseline configuration item.

[IDL]
HRESULT EvaluateBaseline(
     const struct CIDetectInfo* pInfo,
     IDCMAgentCallback*  pCallback,
     BOOL  bForce,
     JobId*  pJobId
);

Parameters

  • pInfo
    Data type: struct

    Qualifiers: [in]

    Pointer to a CIDetectInfo Structure containing information about the baseline configuration item.

  • pCallback
    Data type: IDCMAgentCallback

    Qualifiers: [in]

    Pointer to an IDCMAgentCallback Interface object which is used to notify the agent of the of progress, completion or failure of the operation.

  • bForce
    Data type: BOOL

    Qualifiers: [in]

    true if the method is to force the evaluation scan of the baseline configuration item. This value requires administrator privileges.

    A setting of false for this parameter allows the scan to run, but it does not run if the last evaluation of the baseline met the Desired Configuration Management TimeToLive threshold.

  • pJobId
    Data type: JobId

    Qualifiers: [out]

    Pointer to the ID of the new Desired Configuration Management Agent job for the baseline configuration item.

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.

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
CIDetectInfo Structure