Workspace Name Property

See Also

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

Syntax

object.Name

The Name property syntax has the following parts.

Part Description
Object An object expression that evaluates to a Workspace object.

Remarks

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, Repository retrieves the value of the name as exposed by the INamedObject interface. When you set the name, Repository tries to change some or all of the workspace's names. (See Changing an object version's name.)

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