SharePoint2007Provider::GetQuotaTemplates
This procedure gets the specified quota template. Or, if none is specified, gets them all.
Arguments
Input Arguments | Required | Description |
---|---|---|
<target> |
Yes |
The URL of the Windows SharePoint Services administration site. |
<templateName> |
Yes |
The name of the quota template to retrieve. |
Remarks
The caller must be a member of the local administrators group, or the group that is designated as the SharePoint Administrators Group Account.
Sample Code
Example XML Request
<request>
<procedure>
<execute namespace="SharePoint2007Provider" procedure="GetQuotaTemplates" impersonate="1">
<executeData>
<target>https://raven003:8080</target>
<templateName>newQuotaTemplate</templateName>
</executeData>
</execute>
</procedure>
</request>
Example XML Response (single template)
<executeData>
<target>https://raven003:8080</target>
<templateName>newQuotaTemplate</templateName>
<quotas>
<quota name=newQuotaTemplate>
<warningLevel>10000000</warningLeve>
<maxDBSize>20000000</maxDBSize>
</quota>
</quotas>
</executeData>
Example XML Response (all templates)
<executeData>
<target>https://raven003:8080</target>
<quotas>
<quota name=newQuotaTemplate>
<warningLevel>10000000</warningLeve>
<maxDBSize>20000000</maxDBSize>
</quota>
<quota name=template2>
<warningLevel>60000000</warningLeve>
<maxDBSize>50000000</maxDBSize>
</quota>
<quota name=lasttemplate>
<warningLevel>3333333</warningLeve>
<maxDBSize>1111111</maxDBSize>
</quota>
</quotas>
</executeData>
Applies To
Hosted Messaging and Collaboration version 4.5
Hosted Messaging and Collaboration version 4.0
See also
Tasks
SharePoint2007Provider::AddQuotaTemplate
SharePoint2007Provider::ModifyQuotaTemplate
SharePoint2007Provider::DeleteQuotaTemplate