DatasetVector dtv = exportLayer.Dataset as DatasetVector;
object[] sourceDatas = new object[] { dtv};
ExportSettingPersonalGDBVector exportSettingPersonalGDBVector = new ExportSettingPersonalGDBVector();
exportSettingPersonalGDBVector.TargetFilePath = filePath;//导出数据的路径
exportSettingPersonalGDBVector.SourceData = dtv;//选择的数据集
exportSettingPersonalGDBVector.TargetFileType = FileType.PersonalGDBVector;//导出数据类型
//exportSettingPersonalGDBVector.IsOverwrite = true;
//exportSettingPersonalGDBVector.IgnoreFieldNames = new string[] { "SmUserID" };
dataExport.ExportSettings.Add(exportSettingPersonalGDBVector);
ExportResult result = dataExport.Run();
if (result.FailedSettings.Length == 0 && result.SucceedSettings.Length > 0)
{
ret = true;
}