ICIINFO::GetProperty 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 ICIINFO::GetProperty method, in Configuration Manager, gets a named property value from the configuration item.
[IDL]
HRESULT GetProperty(
LanguageId* pLanguageId,
LPCWSTR pszPropName,
LPWSTR* ppszPropValue
);
Parameters
pLanguageId
Data type: LanguageIdQualifiers: [in, out]
Pointer to the language ID that is used to obtain the property. If there is no localized name for this ID, the method attempts to obtain the language-independent version of the property. If this does not exist, the method returns an error. On successful return from the method, this parameter indicates the language ID for the property retrieved.
pszPropName
Data type: LPCWSTRQualifiers: [in]
Pointer to a null-terminated string specifying the name of the property.
ppszPropValue
Data type: LPWSTRQualifiers: [out]
Pointer to a null-terminated string specifying the property value.
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.