Compartilhar via


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.

See Also

Reference

SPDeploymentSettings Class

SPDeploymentSettings Members

Microsoft.SharePoint.Deployment Namespace