Workspace Interface Property

Meta Data Services Programming

Meta Data Services Programming

Workspace Interface Property

This property obtains an alternate interface for the default interface of the workspace. This is a read-only property. There are three variations of this 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.Interface(interfaceId)
Set
variable  =  object.Interface(objectId)
Set
variable  =  object.Interface(interfaceName)

The Interface property syntax has the following parts.

Part Description
variable An object variable. It receives the workspace with the specified interface as the default interface.
object An object expression that evaluates to a Workspace object.
interfaceId The interface identifier for the interface to be retrieved.
objectId The object identifier for the interface definition to which the interface you want to retrieve conforms.
interfaceName A string that contains the name of the interface to be retrieved.

See Also

Object Identifiers and Internal Identifiers

RepositoryObjectVersion Object

Workspace Object