laptop and a wrench

漏洞

TestSchemaLock does not work and returns a result of "ERROR".

上次发布: August 25, 2014 No Product Found
漏洞 ID 编号 NIM011046
已提交August 17, 2007
上次修改时间June 5, 2024
适用范围No Product Found
找到的版本9.2
修正版本9.3
状态Fixed

解决办法

Possible work-around (forum posting http://forums.esri.com/Thread.asp?c=93&f=1729&t=251511):# Test Schema Lock on output layer# @9.1 - full path to featureclass was valid# @9.2 - use out featureclass name after declaring gp.workspace# Full path to featureclass won't work (always returns ERROR)outfc = "Database Connections\\conservation.sde\\CONSERVATION.StateHeritageSites"#Get workspace of output featureclassoutws = os.path.dirname(outfc)gp.workspace = outws ###required#Get name of output featureclassoutfcname = os.path.basename(outfc) lockTest = gp.TestSchemaLock(outfcname)

重现步骤

漏洞 ID: NIM011046

软件:

  • No Product Found

当漏洞状态发生变化时获得通知

下载 Esri 支持应用程序

发现关于本主题的更多内容

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项