SPGeneralPerformanceCategoryDefinition 构造函数 (String, IList<String>, Boolean)

根据categoryName, counterNames和monitorAllInstances参数的SPGeneralPerformanceCategoryDefinition类的新实例进行初始化。

命名空间:  Microsoft.SharePoint.Diagnostics
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
Public Sub New ( _
    categoryName As String, _
    counterNames As IList(Of String), _
    monitorAllInstances As Boolean _
)
用法
Dim categoryName As String
Dim counterNames As IList(Of String)
Dim monitorAllInstances As Boolean

Dim instance As New SPGeneralPerformanceCategoryDefinition(categoryName, _
    counterNames, monitorAllInstances)
public SPGeneralPerformanceCategoryDefinition(
    string categoryName,
    IList<string> counterNames,
    bool monitorAllInstances
)

参数

另请参阅

引用

SPGeneralPerformanceCategoryDefinition 类

SPGeneralPerformanceCategoryDefinition 成员

SPGeneralPerformanceCategoryDefinition 重载

Microsoft.SharePoint.Diagnostics 命名空间