Click to Rate and Give Feedback
Community Content
In this section
Statistics Annotations (1)
Collapse All/Expand All Collapse All
This page is specific to
The 2007 product release

Other versions are also available for the following:
SPExportSettings.FileMaxSize Property (Microsoft.SharePoint.Deployment)
Gets or sets a value that specifies the maximum size for a content migration package (.cmp) file that is outputted by the export operation.

Namespace: Microsoft.SharePoint.Deployment
Assembly: Microsoft.SharePoint (in microsoft.sharepoint.dll)
Visual Basic (Declaration)
<XmlIgnoreAttribute> _
Public Property FileMaxSize As Integer
Visual Basic (Usage)
Dim instance As SPExportSettings
Dim value As Integer

value = instance.FileMaxSize

instance.FileMaxSize = value
C#
[XmlIgnoreAttribute] 
public int FileMaxSize { get; set; }

Property Value

A 32-bit integer that contains the file size for the content migration package (.cmp) file. The default is 24 MB.

By default, the .cmp files are limited to 24 MB in size, although you can change this using the FileMaxSize property. If set to zero, the value resets to the default.

When site data exceeds the specified limit, site data is separated in to two or more migration files. However, if a single site data file exceeds the maximum file size, the operation does not split the source file, but rather it resizes the .cmp file to accommodate the oversize file. You can have any number of .cmp files.

The range of allowable size values for the .cmp file is from 1 MB to 2GB. If you specify a value that is outside this range, the export operation reverts to the default value of 24 MB.

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
CORRECTION      NickG - MSFT   |   Edit   |   Show History


CORRECTION:
Documentation for the SPExportSettings.FileMaxSize property contains incorrect information that will be revised in the next release. The correct documentation for this property follows:

Description:
Gets or sets a value that specifies the maximum allowable size for a content migration package (.cab file). If the generated export package exceeds this value, the package is split into multiple files.

Property Value:
A 32-bit integer that specifies the maximum size (in MB) of the export package (.cab) file. The default is 24 MB.

Remarks:
The default value is 24 MB, which is also the recommended size. If you implement file compression, then the allowable range is between 1 MB and 2 GB. The upper boundary on any compressed (.cab/.cmp) file is 2048 MB. If a value is provided that is outside of the allowable range (including zero), the property reverts to the default, 24 MB.


Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker