Workspace Lock Method

Meta Data Services Programming

Meta Data Services Programming

Workspace Lock Method

This method locks the workspace. Locking the workspace prevents other processes from locking the object describing the workspace 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 IRepositoryObjectVersion 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 Workspace object

See Also

RepositoryObjectVersion Object

Workspace Object