SharePoint2007Provider::ModifySiteQuota
This procedure modifies an existing site collection quota.
Arguments
Input Arguments | Required | Description |
---|---|---|
<target> |
Yes |
The URL of the Windows SharePoint Services administration site. |
<siteGUID> |
Yes |
The globally unique identifier (GUID) of the Windows SharePoint Services site collection. |
<warningLevel> |
Yes |
The database size in bytes which will generate a warning. |
<maxDBSize> |
Yes |
The database size in bytes which will pervent further growth of the SiteCollections Content Database. |
Remarks
The caller must be a member of the local administrators group, or the group that is designated as the SharePoint Administrators Group Account.
<warningLevel> can be set to any integer equal or greater than 0. It is possible that Sharepoint will throw an error:"Warning storage level must be an integer that is greater than 0 and less than the maximum storage level". As this error is thrown by Sharepoint, not Sharepoint Provider, it can not be modified. The error message can be safely ignored if <warningLevel> is set to be non-negative integer.
Sample Code
Example XML Request
<request>
<procedure>
<execute namespace="SharePoint2007Provider" procedure="ModifySiteQuota" impersonate="1">
<executeData>
<target>https://WSSFE:8080</target>
<siteGUID>b82ce9fe-97b6-4af1-b617-b9e5fbe8040d</siteGUID>
<warningLevel>10000000</warningLevel>
<maxDBSize>20000000</maxDBSize>
</executeData>
</execute>
</procedure>
</request>
Applies To
Hosted Messaging and Collaboration version 4.5
Hosted Messaging and Collaboration version 4.0
See also
Tasks
SharePoint2007Provider::SetSiteQuota
SharePoint2007Provider::GetSiteQuota