RepositoryObjectVersion Name Property
This property is a character string that contains the name of the repository object version.
This property is not attached to the default interface for the repository Automation object; it is attached to the IRepositoryItem interface. For more information about accessing a member of an interface that is not the default interface, see Accessing Automation Object Members.
Syntax
object.Name=string
The Name property syntax has the following parts.
Part | Description |
---|---|
object | An object expression that evaluates to a RepositoryObjectVersion instance |
string | A variable length string that can be a maximum of 255 characters |
Remarks
When you retrieve an object version name, there are several places the repository engine can look for a name.
When you change the value of this property, there may be several names the repository engine tries to change.
Note that when you change this property, the repository engine can, in some circumstances, change some names but not change others. For example, if an object version is the destination of three naming relationships and also implements the INamedObject interface, this method will try to change four names. The method returns success if any of the four attempts succeeds.
See Also
Changing an Object Version's Name
Naming Objects, Collections, and Relationships