SPDeploymentSettings.FileCompression property
Gets or sets a Boolean value that specifies whether the content migration package is compressed using the CAB compression protocol.
Namespace: Microsoft.SharePoint.Deployment
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Property FileCompression As Boolean
Get
Set
'Usage
Dim instance As SPDeploymentSettings
Dim value As Boolean
value = instance.FileCompression
instance.FileCompression = value
public bool FileCompression { get; set; }
Property value
Type: System.Boolean
true to compress the content migration package using CAB; otherwise, false. The default is true.
Remarks
The FileCompression value must be the same for both SPImportSettings and SPExportSettings.