The IDCMSDK::EvaluateBaseline method, in Configuration Manager, runs the discover operation for the specified baseline configuration item.

HRESULT EvaluateBaseline(
	 const struct CIDetectInfo* pInfo,
	 IDCMAgentCallback*  pCallback,
	 BOOL  bForce,
	 JobId*  pJobId



Data type: structQualifiers: [in]Pointer to a CIDetectInfo Structure containing information about the baseline configuration item.

Data type: IDCMAgentCallbackQualifiers: [in]Pointer to an IDCMAgentCallback Interface object which is used to notify the agent of the of progress, completion or failure of the operation.

Data type: BOOLQualifiers: [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.

Data type: JobIdQualifiers: [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:


The method succeeded. All other return values indicate failure.


Runtime Requirements

Development Requirements

See Also

Send comments about this topic to Microsoft.