Click or drag to resize

IImportSetManagerStartImport Method

Starts the processing to import and analyze any new document sources added to the case

Namespace:  EdaIntegrationContract.Import
Assembly:  EdaIntegration.Contract (in EdaIntegration.Contract.dll) Version: 1.0
Syntax
C#
void StartImport(
	IImportSetBuilder builder
)

Parameters

builder
Type: EdaIntegrationContract.ImportIImportSetBuilder
The IImportSetBuilder which describes the data to use for the import processing
Examples
The following example demonstrates how to start the import processing for a case
C#
using EdaIntegrationContract;
using EdaIntegrationContract.Case;
using EdaIntegrationContract.Import;

class Sample
{
    public static void Main()
    {
        var edaIntegration = new EdaIntegration().ConnectToExplore();
        ICase edaCase = edaIntegration.Cases.OpenCaseByName("Case 1");
        var inputFiles = new List<string> ()
        {
              @"C:\Temp\SomeFolder\Data1",
              @"C:\Temp\SomeFolder\Data2",
              @"C:\Temp\AnotherFolder\Data",
        };

        IImportSetBuilder builder = edaCase.Imports.ImportSets.GetNewBuilder();
        builder.AddSources(inputFiles, true);
        edaCase.Imports.ImportSets.StartImport(builder);
    }
}
See Also