SPWebService.LargeFileChunkSize property
Gets or sets the maximum amount of data that the front-end Web server writes to the content database in a single write operation.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Property LargeFileChunkSize As Integer
Get
Set
'Usage
Dim instance As SPWebService
Dim value As Integer
value = instance.LargeFileChunkSize
instance.LargeFileChunkSize = value
public int LargeFileChunkSize { get; set; }
Property value
Type: System.Int32
The maximum number of bytes that can be written in a single operation. The default is 5242880 bytes.
Remarks
If a user uploads a file that exceeds the value of this property, it will be written to the content database in multiple write operations. The excess data over the limit is stored on the disk of the front-end Web server until it is written to the database.