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

SPWebApplication.MaximumFileSize property

Gets or sets the size of the largest file that can be uploaded.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
public int MaximumFileSize { get; set; }

Property value

Type: System.Int32
A 32-bit integer containing the maximum file size (in MB). The default value is 50.

The MaximumFileSize property applies only to files, and not to the content that is posted through forms.

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

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.