Export (0) Print
Expand All
Expand Minimize

SPWebApplication.MaximumFileSizePerExtension property

SharePoint 2013

The size, in MB, of the largest file size that can be uploaded for a specific file extension.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

public IDictionary<string, int> MaximumFileSizePerExtension { get; }

Property value

Type: System.Collections.Generic.IDictionary<String, Int32>
A mapping of file extensions to value containing the maximum allowed file size (in MB) for that extension. If an extension is not present, the value in MaximumFileSize is used.

The MaximumFileSizePerExtension property applies only to files, and not to the content that is posted through forms. However it applies as a separate limit to data supporting the file such as thumbnails, prerendered images, and coauthoring data.

Community Additions

ADD
Show:
© 2014 Microsoft