ImportPropertiesPasswords Property |
Namespace: Law.EdaIntegration.Import
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"); // Create the list of passwords List<string> passwords = new List<string> { "abcdef", "123456", "qwerty" }; // Set the Passwords list edaCase.Imports.Properties.Passwords = passwords; // Save the changes to the case edaCase.Imports.UpdateProperties(); // Get the value foreach (string pwd in edaCase.Imports.Properties.Passwords) { Console.WriteLine("Password: {0}", pwd); } } } /* This example produces the following results: Password: abcdef Password: 123456 Password: qwerty */