Workspace Object Property

Meta Data Services Programming

Meta Data Services Programming

Workspace Object Property

This property retrieves a particular repository object. This is a read-only property.

This property is not attached to the default interface for the repository Automation object; it is attached to the IRepositoryObjectVersion 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.Object(objectId)

The Object property syntax has the following parts.

Part Description
variable Declared as a RepositoryObject. It receives the repository object.
object The object that represents the workspace through which this program is interacting with the repository.
objectId The object identifier for the repository object to be retrieved.
Remarks

The repository engine returns the specific version of the repository object that is present in the workspace. If no version of the object is present in the workspace, this property returns an error.

See Also

RepositoryObject Object

Workspace Object