The ISQLSyntax:: qualifyFieldName method’s ConnectedUser parameter returns incorrect value causing the OpenTable method to fail with the error, "DBMS Table Not found" in version 10.2.2.
上次发布: November 11, 2015ArcObjects SDK
漏洞 ID 编号
BUG-000091882
已提交
November 2, 2015
上次修改时间
June 5, 2024
适用范围
ArcObjects SDK
找到的版本
10.2.2
操作系统
Windows OS
操作系统版本
7.0 64 Bit
状态
Will Not Be Addressed
开发团队已考虑过该问题或请求,并决定不会解决该问题。 问题的“其他信息”部分可能包含进一步说明。
附加信息
This is not a bug; Ensure the table with the qualified table name actually exists in the database before attempting to open it. Please re-examine the documentation on the IFeatureWorkspace::openTable method.
解决办法
Passing the name of the ConnectedUser as a literal string opens the table. For example:string x = sqlsyn.QualifyTableName(db4.ConnectedDatabase, “ConnectedUserName”, "Name Of Table");ITable tab = ((IFeatureWorkspace)workspace).OpenTable(x);