Workspace Interface Property

See Also

Use this property to obtain a view of the Repository workspace that uses an alternate interface as the default interface. This is a read-only property. There are three variations of this property.

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. 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 to be retrieved conforms.
InterfaceName A string containing the name of the interface to be retrieved.

Remarks

This member is exposed by the IRepositoryObjectVersion 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.