SharePoint2007Provider::ModifyQuotaTemplate

This procedure updates an existing quota template with the specified values.

Arguments

Input Arguments Required Description

<target>

Yes

The URL of the Windows SharePoint Services administration site.

<templateName>

Yes

The name of the new quota template.

<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="ModifyQuotaTemplate" impersonate="1"> 
      <executeData> 
        <target>https://raven003:8080</target> 
        <templateName>newQuotaTemplate</templateName> 
        <warningLevel>10000000</warningLeve> 
        <maxDBSize>20000000</maxDBSize> 
      </executeData> 
    </execute> 
  </procedure> 
</request>

Applies To

SharePoint 2007 Provider for:

  • Hosted Messaging and Collaboration version 4.5

  • Hosted Messaging and Collaboration version 4.0

See also

Tasks

SharePoint2007Provider::AddQuotaTemplate
SharePoint2007Provider::DeleteQuotaTemplate