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

[IDL]
HRESULT GetBaselineComplianceReport(
	 LPCWSTR  pszId,
	 LPCWSTR  pszVersion,
	 LPWSTR*  ppszComplianceInfo
);

Parameters

pszId


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".
pszVersion


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


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:

S_OK


The method succeeded. All other return values indicate failure.

Requirements

Runtime Requirements

Development Requirements

See Also

Other Resources

IDCMSDK Interface


Send comments about this topic to Microsoft.