SPContentDatabaseTestResult类的新实例进行初始化。
命名空间: Microsoft.SharePoint.Upgrade
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Public Sub New ( _
category As String, _
error As Boolean, _
upgradeBlocking As Boolean, _
message As String, _
remedy As String _
)
用法
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
)
参数
category
类型:System.String测试类别。
error
类型:System.Booleantrue指定的测试结果表示数据库 ; 中的错误否则为false。
upgradeBlocking
类型:System.Booleantrue ,以防止数据库正在升级 ;否则为false。
message
类型:System.String测试结果的说明。
remedy
类型:System.String补救措施要修复的数据库错误。
另请参阅
引用
SPContentDatabaseTestResult 成员