Frapid.Backups.DbServer.DbServer C# (CSharp) Method

DbServer() public method

public DbServer ( string tenant ) : System.Web.Hosting
tenant string
return System.Web.Hosting
        public DbServer(string tenant)
        {
            this.Tenant = tenant;
            this.ProviderName = this.GetConfig("ProviderName");
            this.BinDirectory = this.GetConfig("PostgreSQLBinDirectory");
            this.DatabaseBackupDirectory = this.GetConfig("DatabaseBackupDirectory");
            this.HostName = this.GetConfig("Server");
            this.PortNumber = this.GetConfig("Port").To<int>();
            this.UserId = this.GetConfig("UserId");
            this.Password = this.GetConfig("Password");

            this.Validate();
        }