The IDCMSDK::GetBaselineComplianceReport method, in Configuration Manager, retrieves the cached discovery report for the specified configuration item baseline.

HRESULT GetBaselineComplianceReport(
	 LPCWSTR  pszId,
	 LPCWSTR  pszVersion,
	 LPWSTR*  ppszComplianceInfo



Data type: LPCWSTRQualifiers: [in]Pointer to a null-terminated string specifying the ID of the baseline configuration item. An example ID is "ScopeId_6CD81FFE-63C4-4AF6-B50A-0847707628A0/Baseline_780a1633-ba4d-4172-b2b1-583cc733ef56".

Data type: LPCWSTRQualifiers: [in, unique]Pointer to a null-terminated string specifying the baseline configuration item version. If this parameter is set to null, the method retrieves the latest version of the baseline configuration item that exists in the client data store.

Data type: LPWSTRQualifiers: [out]Pointer to a null-terminated string specifying a report of compliance information 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

Other Resources

IDCMSDK Interface

Send comments about this topic to Microsoft.