SPDeploymentSettings.HaltOnWarning Property

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.
Show: