Fix for sharepoint enterprise quotas
This commit is contained in:
parent
e9be91a97c
commit
fbec129fc1
1 changed files with 12 additions and 1 deletions
|
@ -9635,6 +9635,9 @@ BEGIN
|
|||
(SELECT TOP 1 @item_type_id, @group_id, 'SharePointSiteCollection', TypeName, 100, CalculateDiskSpace, CalculateBandwidth, Suspendable, Disposable, Searchable, Importable, Backupable FROM [dbo].[ServiceItemTypes] WHERE DisplayName = 'SharePointFoundationSiteCollection')
|
||||
END
|
||||
|
||||
|
||||
|
||||
|
||||
GO
|
||||
|
||||
UPDATE [dbo].[Quotas] SET GroupID = 45 WHERE QuotaName = 'EnterpriseStorage.DriveMaps'
|
||||
|
@ -11098,4 +11101,12 @@ CLOSE @curSpace
|
|||
DEALLOCATE @curSpace
|
||||
CLOSE @curUsers
|
||||
DEALLOCATE @curUsers
|
||||
RETURN
|
||||
RETURN
|
||||
|
||||
|
||||
IF EXISTS (SELECT TOP 1 * FROM ServiceItemTypes WHERE DisplayName = 'SharePointEnterpriseSiteCollection')
|
||||
BEGIN
|
||||
DECLARE @item_type_id AS INT
|
||||
SELECT @item_type_id = ItemTypeId FROM ServiceItemTypes WHERE DisplayName = 'SharePointEnterpriseSiteCollection'
|
||||
UPDATE [dbo].[Quotas] SET ItemTypeID = @item_type_id WHERE QuotaId = 550
|
||||
END
|
Loading…
Add table
Add a link
Reference in a new issue