public static void RunQueueCreation(IMonitoringInstance instance) { var accountName = instance.ServiceAccount; RunQueueCreation(instance.InstallPath, Constants.MonitoringExe, instance.Name, accountName); }
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(); } }
public AppConfig(IMonitoringInstance details) : base(Path.Combine(details.InstallPath, $"{Constants.MonitoringExe}.config")) { this.details = details; }