VersionedRelationship Lock Method

Meta Data Services Programming

Meta Data Services Programming

VersionedRelationship Lock Method

This method locks the versioned relationship. Locking the relationship prevents other processes from locking the relationship while you are working with it. The lock is released when you end the current transaction.

This method 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

Call object.Lock

The Lock method syntax has the following part.

Part Description
object An object expression that evaluates to a VersionedRelationship object

See Also

IRepositoryItem Interface

Relationship Object

VersionedRelationship Object