Click or drag to resize

ImportSessionManagerStartImport Method

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

Namespace:  Law.EdaIntegration.Import
Assembly:  Law.EdaIntegration (in Law.EdaIntegration.dll) Version: 7.2
Syntax
C#
public void StartImport(
	int sessionId
)

Parameters

sessionId
Type: SystemInt32
The unique identifier of the session to use for the import processing
Examples
The following example demonstrates how to start the import processing for a case
C#
using Law.EdaIntegration;

class Sample
{
    public static void Main()
    {
        string connectionString = @"Data Source=localhost;Initial Catalog=EDA_Management;Integrated Security=False;User ID=myUserId;Password=myPassword";
        EdaIntegration edaIntegration = new EdaIntegration();
        edaIntegration.InitializeEnvironment(connectionString);

        Case edaCase = edaIntegration.Cases.OpenCaseByName("Case 1");
        ImportSession session = edaCase.Imports.ImportSessions.ByLabel("Local Data");
        edaCase.Imports.ImportSessions.StartImport(session.Id);
    }
}
See Also