Quota template helps you to manage the grown in site within Admin control
SPGlobalAdmin globalAdmin = new SPGlobalAdmin();
SPGlobalConfig globalConfig = globalAdmin.Config;
SPQuotaTemplateCollection templates = globalConfig.QuotaTemplates;
foreach(SPQuotaTemplate template in templates)
{
if(template.Name == “Personal Site”)
{
template.Name = “Modified Personal Site”;
template.Add(template);
Console.WriteLine(“Quota Template name changed!!”);
break;
}
}
more
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment