Workspace RootObject Property

Meta Data Services Programming

Meta Data Services Programming

Workspace RootObject Property

This property is the root repository object for the open repository. This is a read-only property. The returned reference to the root object has the context of the current workspace.

This property is not attached to the default interface for the repository Automation object; it is attached to the IRepository interface. For more information about accessing a member of an interface that is not the default interface, see Accessing Automation Object Members.

Syntax

Set variable  =  object.RootObject

The RootObject property syntax has the following parts.

Part Description
variable A variable declared as a RepositoryObject. It receives the root repository object.
object The object that represents the workspace through which this program is interacting with the repository.

See Also

ReposRoot Object

RepositoryObject Object

Workspace Object