This document is archived and information here might be outdated.  Recommended version.

IWorkspaceFactoryLockControl Interface (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IW > IWorkspaceFactoryLockControl Interface
ArcGIS Developer Help

IWorkspaceFactoryLockControl Interface

Manages Geodatabase Locking

Product Availability

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


Name Description
Method DisableSchemaLocking All workspaces created and managed by the factory will have schema locking disabled.
Method EnableSchemaLocking All workspaces created and managed by the factory will have schema locking enabled.
Read-only property SchemaLockingEnabled Returns true if this factory has schema locking enabled.

Classes that implement IWorkspaceFactoryLockControl

Classes Description


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.