Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

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.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.