Use this method to lock the Repository object. Locking the object prevents other processes from updating the object while you are working with it. The lock is released when you end the current transaction.
Call object.Lock
The Lock method syntax has the following parts.
Part | Description |
object | An object expression that evaluates to a RepositoryObject object. |