This documentation is archived and is not being maintained.

SPDeploymentSettings.HaltOnWarning Property

Windows SharePoint Services 3

Gets or sets a value indicating whether to stop the import or export operation if a warning occurs.

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

public bool HaltOnWarning { get; set; }

Property Value

Type: System.Boolean
true to stop execution for warnings; otherwise, false. The default is false.