Share via


SPContentDatabaseTestResult.UpgradeBlocking property

Gets or sets a Boolean value that specifies whether to prevent the database from being upgraded if the test result is an error.

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

Syntax

'Declaration
Public Property UpgradeBlocking As Boolean
    Get
    Set
'Usage
Dim instance As SPContentDatabaseTestResult
Dim value As Boolean

value = instance.UpgradeBlocking

instance.UpgradeBlocking = value
public bool UpgradeBlocking { get; set; }

Property value

Type: System.Boolean
Boolean
true to prevent the database from being upgraded; otherwise, false.

See also

Reference

SPContentDatabaseTestResult class

SPContentDatabaseTestResult members

Microsoft.SharePoint.Upgrade namespace