IExportManagerCreate Method |
Namespace: EdaIntegrationContract.Exports
IExport Create( string exportName, ExportType exportType, string baseDirectory = null )
using EdaIntegrationContract; using EdaIntegrationContract.Case; using EdaIntegrationContract.Exports; class Sample { public static void Main() { var edaIntegration = new EdaIntegration().ConnectToExplore(); ICase edaCase = edaIntegration.Cases.OpenCaseByName("Case 1"); IExport export = edaCase.Exports.Create("Export-001"); Console.WriteLine("Id: {0}", export.Id); Console.WriteLine("Name: {0}", export.Name); Console.WriteLine("Type: {0}", export.Type); Console.WriteLine("Scope: {0}", export.Config.Scope); Console.WriteLine("Last Run: {0}", export.LastRun); Console.WriteLine("Total Documents: {0}", export.TotalDocuments); Console.WriteLine("Error Count: {0}", export.NumErrors); } } /* This example produces the following results: Id: 3 Name: Export-001 Type: Native Scope: Filtered Last Run: Total Documents: 0 Error Count: 0 */