IMetaData::GetData Method
Retrieves one key/value pair from metadata of either an IEntity, an IRelationship or an ISchemaProvider.
Syntax
HRESULT GetData( LPCWSTR *pszKey, LPCWSTR *pszValue );
Parameters
- pszKey
[out] Returns the key of the metadata pair as a Unicode string. The calling application must free the returned string using CoTaskMemFree.- pszValue
[out] Returns the value of the metadata pair as a Unicode string. The calling application must free the returned string using CoTaskMemFree.
Return Value
Returns S_OK if successful, or an error value otherwise.