RepositoryObject Name Property

Meta Data Services Programming

Meta Data Services Programming

RepositoryObject Name Property

This property is a character string that contains the name of the repository object.

The Name property is normally derived from the relationship for which this repository object is the destination object. When the name is retrieved, the name from the first naming relationship found is returned. If the object is not the destination of any naming relationship, a null name is returned. However, you can set a name property explicitly. When the name is set, the new name is used for all naming relationships for which the object is the destination.

Syntax

string=object.Name

The Name property syntax has the following parts.

Part Description
string A variable length string that can be a maximum of 255 characters
object An object expression that evaluates to a RepositoryObject
Remarks

If the repository object exposes the INamedObject interface, the name that is retrieved is always the Name property of the INamedObject interface. Likewise, when this property is set, the Name property of the INamedObject interface and the name associated with all naming relationships are set to the new value.

See Also

INamedObject Interface

Repository Object

RepositoryObject Object