Compartilhar via


SPExportSettings.Validate Method

Checks export settings to ensure that they are valid and don't conflict.

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

Syntax

'Declaration
Public Overrides Sub Validate
'Usage
Dim instance As SPExportSettings

instance.Validate()
public override void Validate()

Remarks

You cannot export a Web site in the same operation as parts of the Web site. An exception is thrown if the SPExportObjectCollection contains more than one object and one of the objects is a Web site.

See Also

Reference

SPExportSettings Class

SPExportSettings Members

Microsoft.SharePoint.Deployment Namespace