SPContentDatabaseTestResult Constructor

Initializes a new instance of the SPContentDatabaseTestResult class.

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

Syntax

'Declaration
Public Sub New ( _
    category As String, _
    error As Boolean, _
    upgradeBlocking As Boolean, _
    message As String, _
    remedy As String _
)
'Usage
Dim category As String
Dim error As Boolean
Dim upgradeBlocking As Boolean
Dim message As String
Dim remedy As String

Dim instance As New SPContentDatabaseTestResult(category, _
    error, upgradeBlocking, message, _
    remedy)
public SPContentDatabaseTestResult(
    string category,
    bool error,
    bool upgradeBlocking,
    string message,
    string remedy
)

Parameters

  • error
    Type: System.Boolean

    true to specify that the test result represents an error in the database; otherwise, false.

  • upgradeBlocking
    Type: System.Boolean

    true to prevent the database from being upgraded; otherwise, false.

  • message
    Type: System.String

    The description of the test result.

See Also

Reference

SPContentDatabaseTestResult Class

SPContentDatabaseTestResult Members

Microsoft.SharePoint.Upgrade Namespace