Share via


IDCMSDK::GetBaselineComplianceReport Method

Applies To: System Center Configuration Manager 2007, System Center Configuration Manager 2007 R2, System Center Configuration Manager 2007 R3, System Center Configuration Manager 2007 SP1, System Center Configuration Manager 2007 SP2

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: LPCWSTR

    Qualifiers: [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: LPCWSTR

    Qualifiers: [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: LPWSTR

    Qualifiers: [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

For more information, see Configuration Manager Client Runtime Requirements.

Development Requirements

For more information, see Configuration Manager Client Development Requirements.

See Also

Concepts

IDCMSDK Interface