Workspace Name Property

Meta Data Services Programming

Meta Data Services Programming

Workspace Name Property

This property is 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 engine sets two things: the name property of the INamedObject interface, and the name associated with every naming relationship in which this workspace participates as the destination object.

This property is not attached to the default interface for the repository Automation object; it is attached to the INamedObject 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

The Name property syntax has the following part.

Part Description
object An object expression that evaluates to a Workspace object
Remarks

In addition to 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 the name of a workspace, the repository engine retrieves the value of the name as exposed by the INamedObject interface. When you set the name, the engine attempts to change some or all of the names of the workspace.

See Also

Changing an Object Version's Name

INamedObject Interface

Workspace Object