A character string that contains the name of the workspace.
The name property is normally a property of the relationship for which this Repository object is the destination object. However, because the Workspace object exposes the INamedObject interface, the name retrieved is the value of the Name property exposed by this interface. When you set this property, the Repository sets the name property of the INamedObject interface and it sets the name associated with every naming relationship in which this workspace participates as the destination object.
object.Name
The Name property syntax has the following parts.
Part | Description |
object | An object expression that evaluates to a Workspace object. |
This member is exposed by the INamedObject interface, a non-default interface for this object. For details on how to access a member of an interface that is not the default interface, see Accessing Automation Object Members.
Besides the name property exposed by the INamedObject interface, each workspace can have other names because each workspace has a destination naming relationship to the Root object. When you retrieve a workspace's name, the Repository retrieves the value of the name as exposed by the INamedObject interface. When you set the name, the Repository tries to change some or all of the workspace's names. (See Changing an object version's name.)