Export (0) Print
Expand All

SPExportSettings.ExportPublicSchema Property

Windows SharePoint Services 3

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)

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.

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

Community Additions

© 2015 Microsoft