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. |