Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The IDCMSDK::EvaluateBaseline method, in Configuration Manager, runs the discover operation for the specified baseline configuration item.
Syntax
[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 that is used to notify the agent of the 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 doesn't 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 aren't limited to, the following one:
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
IDCMSDK Interface IDCMAgentCallback Interface CIDetectInfo Structure