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
category
Type: System.StringThe category of the test.
error
Type: System.Booleantrue to specify that the test result represents an error in the database; otherwise, false.
upgradeBlocking
Type: System.Booleantrue to prevent the database from being upgraded; otherwise, false.
message
Type: System.StringThe description of the test result.
remedy
Type: System.StringA remedy to fix a database error.
See Also
Reference
SPContentDatabaseTestResult Class