RepositoryObject Interface Property

Meta Data Services Programming

Meta Data Services Programming

RepositoryObject Interface Property

Use this property to obtain a view of the repository object that uses an interface other than 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. It receives the repository object with the specified interface as the default interface.
object An object expression that evaluates to a RepositoryObject.
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.

See Also

Assigning Object Identifiers

InterfaceDef Object

Object Identifiers and Internal Identifiers

Repository Object

RepositoryObject Object