RDS quotas
This commit is contained in:
parent
69e4f8db27
commit
b1af779c18
14 changed files with 310 additions and 49 deletions
|
@ -45,6 +45,12 @@ namespace WebsitePanel.Portal.RDS
|
|||
if (!IsPostBack)
|
||||
{
|
||||
}
|
||||
|
||||
PackageContext cntx = PackagesHelper.GetCachedPackageContext(PanelSecurity.PackageId);
|
||||
if (cntx.Quotas.ContainsKey(Quotas.RDS_COLLECTIONS))
|
||||
{
|
||||
btnAddCollection.Enabled = (!(cntx.Quotas[Quotas.RDS_COLLECTIONS].QuotaAllocatedValue <= gvRDSCollections.Rows.Count) || (cntx.Quotas[Quotas.RDS_COLLECTIONS].QuotaAllocatedValue == -1));
|
||||
}
|
||||
}
|
||||
|
||||
public string GetServerName(string collectionId)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue