VersionedRelationship Interface Property

Meta Data Services Programming

Meta Data Services Programming

VersionedRelationship Interface Property

This property obtains a view of the VersionedRelationship object that uses an alternate interface as the default interface. 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 IRepositoryItem 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 relationship object with the specified interface as the default interface.
object An object expression that evaluates to a VersionedRelationship object.
interfaceId The interface identifier for the interface to be retrieved.
objected 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

Because the VersionedRelationship class implements a limited set of interfaces, the input parameter you supply must specify one of the following interfaces: IVersionedRelationship, IRelationship, IRepositoryItem, IRepositoryDispatch, or IAnnotationalProperties.

See Also

IAnnotationalProps Interface

IRelationship Interface

IRepositoryDispatch Interface

IRepositoryItem Interface

IVersionedRelationship Interface

Relationship Object

VersionedRelationship Object