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


IWorkspaceFactoryLockControl Interface (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (GeoDatabase)  

IWorkspaceFactoryLockControl Interface

Manages Geodatabase Locking

Product Availability

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

Members

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.

Remarks

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.