AnnUnlock Example for Visual J++
Note: This topic is for Document/Medical only.
This is also the example for AnnGetLocked method.
If an object is found to be locked, using AnnGetLocked method, the object is unlocked, by AnnUnlock, using the key "IkeStarnes".
boolean bLocked = LEAD1.AnnGetLocked( ghObject );
if( bLocked )
LEAD1.AnnUnlock( ghObject, "IkeStarnes" );