internal static Boolean FreeLocks(IClass theLockClass)
{
Boolean Result = false;
ISchemaLock theLock;
try
{
theLock = (ISchemaLock)theLockClass;
theLock.ChangeSchemaLock(esriSchemaLock.esriSharedSchemaLock);
Result = true;
}
catch { Result = false; }
return Result;
}