ImportSessionManagerById Method |
Namespace: Law.EdaIntegration.Import
public ImportSession ById( int sessionId )
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 importSession = edaCase.Imports.ImportSessions.ById(3); Console.WriteLine("Id: {0}, Label: {1}", importSession.Id, importSession.Label); } } /* This example produces the following results: Id: 3, Label: 2014-06-21-002 */