IRepositoryItem::Lock

Meta Data Services Programming

Meta Data Services Programming

IRepositoryItem::Lock

This method locks a particular repository item. Locking the item prevents other processes from locking the item while you are working with it. The lock is released when you end the current transaction.

HRESULT Lock(void);

Return Value

S_OK

The method completed successfully.

Error Values

This method failed to complete successfully.

See Also

IRepositoryItem Interface