使用组件开发,导出arcgis mdb(PersonalGDBVector)时,不能过滤SmUserID字段,导出的数据始终存在UserID字段,请问需要怎么处理?
Workspace workspace = new Workspace();
DatasourceConnectionInfo dsConnectionInfo = new DatasourceConnectionInfo();
dsConnectionInfo.EngineType = EngineType.UDBX;
dsConnectionInfo.Alias = "Datasource";
dsConnectionInfo.Server = @"D:\appDownload\source\ds20200722_1131.udbx";
Datasource ds = workspace.Datasources.Open(dsConnectionInfo);
object[] sourceDatas = new object[] { ds.Datasets[0], ds.Datasets[1] };
string targetFile = @"D:\appDownload\source\test2.mdb";
ExportSettingPersonalGDBVector exportSettingPersonalGDBVector = new ExportSettingPersonalGDBVector(sourceDatas, targetFile);
exportSettingPersonalGDBVector.TargetFileType = FileType.PersonalGDBVector;
exportSettingPersonalGDBVector.IgnoreFieldNames = new string[] {"SmUserID","UserID" };
DataExport dataExport = new DataExport();
ExportSettings ExportSettings = dataExport.ExportSettings;
ExportSettings.Add(exportSettingPersonalGDBVector);
dataExport.Run();