コード例 #1
0
ファイル: DatabaseGateway.cs プロジェクト: japj/SSDT-DevPack
 public DatabaseGateway(string connectionString)
 {
     _connectionString = connectionString;
     switch (GetVersion())
     {
         case SqlServerVersion.Sql100:
             _gateway = new ExtendedEventGateway2008(_connectionString);
             break;
     }
 }
コード例 #2
0
 public DatabaseGateway(string connectionString)
 {
     _connectionString = connectionString;
     switch (GetVersion())
     {
     case SqlServerVersion.Sql100:
         _gateway = new ExtendedEventGateway2008(_connectionString);
         break;
     }
 }
コード例 #3
0
        public void Start()
        {
            try
            {
                _continue = true;
                _gateway  = new DatabaseGateway(_connectionString).Get();

                _gateway.StartTrace();
            }
            catch (Exception e)
            {
                OutputPane.WriteMessageAndActivatePane("CodeCoverage, error starting the trace: {0}", e);
            }
        }
コード例 #4
0
        public void Start()
        {
            try
            {
                _continue = true;
                _gateway = new DatabaseGateway(_connectionString).Get();

                _gateway.StartTrace();
            }
            catch (Exception e)
            {
                OutputPane.WriteMessageAndActivatePane("CodeCoverage, error starting the trace: {0}", e);
            }
        }