Use this method to lock 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.
Call object.Lock
The Lock method syntax has the following parts.
Part | Description |
object | An object expression that evaluates to a VersionedRelationship object. |