RepositoryObjectVersion Lock Method

Meta Data Services Programming

Meta Data Services Programming

RepositoryObjectVersion Lock Method

Use this method to lock the repository object version. Locking the object version prevents other processes from locking it while you are working with it. The lock is released when you end the current transaction.

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

Call object.Lock

The Lock method syntax has the following part.

Part Description
object An object expression that evaluates to a RepositoryObjectVersion instance

See Also

IRepositoryItem Interface

RepositoryObjectVersion Object