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.
This method failed to complete successfully.