Share via


IDCMSDK::GetBaselineInfo 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::GetBaselineInfo method, in Configuration Manager, retrieves information for the specified configuration item baseline.

[IDL]
HRESULT GetBaselineInfo(
     LPCWSTR  pszId,
     LPCWSTR  pszVersion,
     DWORD  dwFlags,
     ICIInfo**  ppCIInfo
);

Parameters

  • pszId
    Data type: LPCWSTR

    Qualifiers: [in]

    Pointer to a null-terminated string specifying the baseline configuration item ID. 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 configuration item that exists in the store. Examples of version strings are "1.00" and "27.00".

  • dwFlags
    Data type: DWORD

    Qualifiers: [in]

    Flags identifying the configuration item. Possible values are:

    0

    ciinfoAll. Retrieve all properties. Requires administrator privileges.

    1

    ciinfoPublic. Retrieve only public properties. The detailed compliance report is not a public property.

  • ppCIInfo
    Data type: ICIInfo

    Qualifiers: [out]

    Pointer to a pointer to an ICIINFO Interface object that represents configuration item information.

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
ICIINFO Interface