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)
Syntax
'Declaration
Public Property HaltOnWarning As Boolean
Get
Set
'Usage
Dim instance As SPDeploymentSettings
Dim value As Boolean
value = instance.HaltOnWarning
instance.HaltOnWarning = value
public bool HaltOnWarning { get; set; }
Property value
Type: System.Boolean
true to stop execution for warnings; otherwise, false. The default is false.