|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IDatabaseLockInfo
Infomation about database locks.
An IDatabaseLockInfo object is returned from the IDatabaseLocksInfo.get_AllLocks enumeration of locks (IEnumDatabaseLockInfo). This interface provides information about the individual locks:
- IsOwnLock indicates if the lock was created by the connection made by the user.
- LockMode returns a value from the esriSdeLockMode enumeration:
- LockOwner returns the user name associated with the connection that created the lock as a string.
- LockTime returns the database time the lock was created.
- LockType returns a value from the esriSdeLockType enumeration:
- ObjectID returns the lock identifier for its LockType.
- ObjectName returns the name of the object being locked.
- DatasetType returns the type of dataset locked as a value from the esriDatasetType enumeration. This property is only supported for the LockType of esriSdeLockType.esriLockTypeSchema.
Method Summary | |
---|---|
int |
getDatasetType()
The type of the locked dataset, if it is a dataset. |
int |
getLockMode()
The mode of the lock. |
String |
getLockOwner()
The user that owns the lock. |
Object |
getLockTime()
The time when the lock was acquired. |
int |
getLockType()
The type of lock. |
long |
getObjectID()
The ID of the locked object. |
String |
getObjectName()
The name of the locked object. |
int |
getSessionID()
The session that owns the lock. |
boolean |
isOwnLock()
Is the lock from the current connection. |
Method Detail |
---|
int getSessionID() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.String getLockOwner() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getLockMode() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.Object getLockTime() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getLockType() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.long getObjectID() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.String getObjectName() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getDatasetType() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isOwnLock() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |