SPWebService.MaxTemplateDocumentSize Property

Gets or sets the maximum size for catalogs of list and site templates.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Property MaxTemplateDocumentSize As Integer
    Get
    Set
'Usage
Dim instance As SPWebService
Dim value As Integer

value = instance.MaxTemplateDocumentSize

instance.MaxTemplateDocumentSize = value
public int MaxTemplateDocumentSize { get; set; }

Property Value

Type: System.Int32
A 32-bit integer between 0 and 500 MB.

See Also

Reference

SPWebService Class

SPWebService Members

Microsoft.SharePoint.Administration Namespace