Interface ISchemaLockInfo

Namespace
ESRI.ArcGIS.Geodatabase
Assembly
ESRI.Server.Geodatabase.dll

Provides access to members that supply schema lock information.

[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("A67958D8-226E-11D3-80B2-00C04F686238")]
public interface ISchemaLockInfo

Remarks

The ISchemaLockInfo interface provides information about a schema lock, for example whether it is shared or exclusive and, for ArcSDE geodatabases, the name of the user who has the lock. You can access ISchemaLockInfo through ISchemaLock::GetCurrentSchemaLocks and then by stepping through the returned schema lock enumerator object.

Properties

SchemaLockType

The schema lock type.

esriSchemaLock SchemaLockType { get; }

Property Value

esriSchemaLock

Remarks

The schema lock type can be esriExclusiveSchemaLock or esriSharedSchemaLock.

TableName

The name of the table with the schema lock.

string TableName { get; }

Property Value

string

UserName

The user name who has the schema lock.

string UserName { get; }

Property Value

string