ICIINFO::GetProperty Method
The ICIINFO::GetProperty
method, in Configuration Manager, gets a named property value from the configuration item.
Syntax
[IDL]
HRESULT GetProperty(
LanguageId* pLanguageId,
LPCWSTR pszPropName,
LPWSTR* ppszPropValue
);
Parameters
pLanguageId
Data type: LanguageId
Qualifiers: [in, out]
Pointer to the language ID that is used to obtain the property. If there's no localized name for this ID, the method attempts to obtain the language-independent version of the property. If this doesn't 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: LPCWSTR
Qualifiers: [in]
Pointer to a null-terminated string specifying the name of the property.
ppszPropValue
Data type: LPWSTR
Qualifiers: [out]
Pointer to a null-terminated string specifying the property value.
Return Values
An HRESULT
code. Possible values include, but aren't limited to, the following one:
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for