예제 #1
0
        public static void RunQueueCreation(IMonitoringInstance instance)
        {
            var accountName = instance.ServiceAccount;

            RunQueueCreation(instance.InstallPath,
                             Constants.MonitoringExe,
                             instance.Name,
                             accountName);
        }
예제 #2
0
        public static void Validate(IMonitoringInstance instance)
        {
            var validator = new ConnectionStringValidator(instance.ConnectionString, instance.ServiceAccount);

            if (instance.TransportPackage.ZipName.Equals("SQLServer", StringComparison.OrdinalIgnoreCase))
            {
                validator.CheckMsSqlConnectionString();
            }
        }
        public static void Validate(IMonitoringInstance instance)
        {
            var validator = new ConnectionStringValidator(instance.ConnectionString, instance.ServiceAccount);

            if (instance.TransportPackage == "SQLServer")
            {
                validator.CheckMsSqlConnectionString();
            }
        }
예제 #4
0
 public AppConfig(IMonitoringInstance details) : base(Path.Combine(details.InstallPath, $"{Constants.MonitoringExe}.config"))
 {
     this.details = details;
 }