Workspace containing datasets
private static void RebuildIndexes(IEnumDataset enumDataset)
{
IDataset dataset;
enumDataset.Reset();
while ((dataset = enumDataset.Next()) != null)
{
///Filter for ownership here (does the schema match the connected user)"/>
获取应用程序中的漏洞更新
URL 已复制共享 URL
漏洞
Rebuilding the database index using ArcObjects script affects tables not owned by the user running the tool.
上次发布: October 26, 2017ArcSDE/Enterprise Geodatabase
漏洞 ID 编号
BUG-000107345
已提交
August 14, 2017
上次修改时间
June 5, 2024
适用范围
ArcSDE/Enterprise Geodatabase
找到的版本
10.3
操作系统
Windows OS
操作系统版本
7.0 64 Bit
状态
Will Not Be Addressed
开发团队已考虑过该问题或请求,并决定不会解决该问题。 问题的“其他信息”部分可能包含进一步说明。
附加信息
The coarse grained API (Geoprocessing tool) is built with the fine grained API (ArcObjects) however business decisions are made in the API implementation. This means that for user written fine grained code, they must make the same decisions. In this case the difference in the sample is that the user defined function does not filter the table by the connected user to ownership.
/// Rebuild indexes for datasets that are not relationship classes (ie. tables, feature classes, ...)
///
/// Workspace containing datasets
private static void RebuildIndexes(IEnumDataset enumDataset)
{
IDataset dataset;
enumDataset.Reset();
while ((dataset = enumDataset.Next()) != null)
{
///Filter for ownership here (does the schema match the connected user)