SPContentDatabaseTestResult 构造函数 (String, Boolean, Boolean, String, String)

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
)

参数

  • error
    类型:System.Boolean

    true指定的测试结果表示数据库 ; 中的错误否则为false。

  • upgradeBlocking
    类型:System.Boolean

    true ,以防止数据库正在升级 ;否则为false。

  • remedy
    类型:System.String

    补救措施要修复的数据库错误。

另请参阅

引用

SPContentDatabaseTestResult 类

SPContentDatabaseTestResult 成员

SPContentDatabaseTestResult 重载

Microsoft.SharePoint.Upgrade 命名空间