Meta Data Services Programming
IRepositoryItem::get_Name
This method retrieves the name associated with a repository item. For repository relationships, this is the name defined by the relationship. For repository objects, this is either:
- The Name property of the INamedObject interface, if the object exposes that interface.
- The name defined by a relationship for which the object is the destination object.
HRESULT get_Name(BSTR *pName);
Parameters
*pName
[out]
The name associated with the item.
Return Value
S_OK
The method completed successfully.
This method failed to complete successfully.
Remarks
When you try to retrieve the name of an object version, the repository engine can look in several places for the name.