Click or drag to resize

EdaIntegrationInitializeEnvironment Method

Initializes the Early Data Analyzer Integration Library environment and connects to the EDA_Management database using the supplied connection data

Namespace:  Law.EdaIntegration
Assembly:  Law.EdaIntegration (in Law.EdaIntegration.dll) Version: 7.2
Syntax
C#
public void InitializeEnvironment(
	string connectionString
)

Parameters

connectionString
Type: SystemString
A database connection string specifying the connection parameters to use. The connection string supports using either Windows Integrated Security or SQL Server Authentication.
Examples

The following example demonstrates initializing the Early Data Analyzer Integration Library to connect to the management database on serverA using SQL Server authentication.

C#
using Law.EdaIntegration;

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