This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IW > IWorkspaceFactoryLockControl Interface (ArcObjects .NET 10.4 SDK) |
Manages Geodatabase Locking
Description | ||
---|---|---|
DisableSchemaLocking | All workspaces created and managed by the factory will have schema locking disabled. | |
EnableSchemaLocking | All workspaces created and managed by the factory will have schema locking enabled. | |
SchemaLockingEnabled | Returns true if this factory has schema locking enabled. |
The IWorkspaceFactoryLockControl API must be used with extreme caution. Disabling schema locks can have adverse affects on all connected users. The disabling of schema locks not only prevents that workspace from establishing schema locks on an objects schema; it will also ignore any existing schema locks established by other processes.
This API is exposed at the workspace factory and allows for the Enabling and Disabling of schema locking on any workspace instantiated by the workspace factory. By default, schema locking is enabled on any workspace instantiated from a workspace factory.