Share via


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

Public Property FileCompression As Boolean
    Get
    Set

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.

See Also

Reference

SPDeploymentSettings Class

SPDeploymentSettings Members

Microsoft.SharePoint.Deployment Namespace