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: structQualifiers: [in]Pointer to a CIDetectInfo Structure containing information about the baseline configuration item.
pCallback


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.
bForce


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.
pJobId


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:

S_OK


The method succeeded. All other return values indicate failure.

Requirements

Runtime Requirements

Development Requirements

See Also


Send comments about this topic to Microsoft.