Share via


SPExportSettings.ExportPublicSchema property

Gets or sets a value that specifies whether to use the public schema format when exporting a list field.

Namespace:  Microsoft.SharePoint.Deployment
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Property ExportPublicSchema As Boolean
    Get
    Set
'Usage
Dim instance As SPExportSettings
Dim value As Boolean

value = instance.ExportPublicSchema

instance.ExportPublicSchema = value
public bool ExportPublicSchema { get; set; }

Property value

Type: System.Boolean
true if the export operation uses the public schema. Returns false if a list item field collection is retrieved directly from the database.
The default value is true.

Remarks

Retrieving the fields collection directly from the database (that is, setting this property to false) is more efficient, both for import and export operations. However, the format for the fields schema that is stored in the database is internal and might change from one product version to another.

See also

Reference

SPExportSettings class

SPExportSettings members

Microsoft.SharePoint.Deployment namespace