ArcGIS中有关MDB文件锁定的说明
2008-03-02 15:51 flyingfish 阅读(1258) 评论(0) 编辑 收藏 举报做二次开发总是有人问Personal Geodatabase的Lock问题,这是ESRI开发文档中的解释,摘录如下。
但是在实际操作中,比如ArcCatalog移走焦点+刷新似乎并不能解除对当前MDB的锁定。
Whenever a program is updating a dataset, such as a feature class or table, be careful to
avoid situations in which the dataset is locked. Microsoft Access always locks a database
for update operations when a table is accessed, so if you have a personal geodatabase
open in ArcCatalog, a program will not be able to update any of the geodatabase's
contents until it is deselected and the folder is refreshed or ArcCatalog is closed.