IRepositoryItem::get_Name

See Also

Retrieves the name associated with a Microsoft® Repository item. For Repository relationships, this is the name defined by the relationship. For Repository objects, this is either:

  1. The Name property of the INamedObject interface, if the object exposes that interface.

  2. 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.

Error
Values

This method failed to complete successfully.

Remarks

When you try to retrieve the name of an object version, Repository can look in several places for the name. (See Retrieving an object version's name.)

(c) 1988-1998 Microsoft Corporation. All Rights Reserved.