ImportSetManagerByLabel Method |
Namespace: Law.EdaIntegration.Import
public ImportSet ByLabel( string importSetLabel )
using Law.EdaIntegration; using Law.EdaIntegration.Case; using Law.EdaIntegration.Import; 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"); ImportSet importSet = edaCase.Imports.ImportSets.ByLabel("Local Data"); Console.WriteLine("Id: {0}, Label: {1}", importSet.Id, importSet.Label); } } /* This example produces the following results: Id: 4, Label: Local Data */