Compartilhar 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