ArcGIS Developer Help  (GeoDatabase)    

ISchemaLock.GetCurrentSchemaLocks Method

The list of current locks.

[Visual Basic 6.0]
Sub GetCurrentSchemaLocks(
    schemaLockInfo As IEnumSchemaLockInfo _
)
[Visual Basic .NET]
Public Sub GetCurrentSchemaLocks ( _
    ByRef schemaLockInfo As IEnumSchemaLockInfo _
)
[C#]
public void GetCurrentSchemaLocks (
    ref IEnumSchemaLockInfo schemaLockInfo
);
[Java]
public void getCurrentSchemaLocks (
    IEnumSchemaLockInfo schemaLockInfo
)
throws
    IOException,
    AutomationException
[C++]
HRESULT GetCurrentSchemaLocks(
  IEnumSchemaLockInfo** schemaLockInfo
);
[C++]

Parameters

schemaLockInfo [out]

  schemaLockInfo is a parameter of type IEnumSchemaLockInfo

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Remarks

Returns an enumeration of the schema locks currently on the dataset.  Not that there will always be at least one schema lock on the dataset.  By checking the schema locks on a dataset a shared schema lock is applied to the data.

See Also

ISchemaLock Interface

Example

GetCurrentSchemaLocks Example

 


Feedback Send feedback on this page