Share via


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)

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