SPDistributedCachePerfCounterHelper.AddCounter 方法

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

语法

声明
Public Shared Sub AddCounter ( _
    category As String, _
    counter As String, _
    addAllInstances As Boolean _
)
用法
Dim category As String
Dim counter As String
Dim addAllInstances As BooleanSPDistributedCachePerfCounterHelper.AddCounter(category, counter, _
    addAllInstances)
public static void AddCounter(
    string category,
    string counter,
    bool addAllInstances
)

参数

另请参阅

引用

SPDistributedCachePerfCounterHelper 类

SPDistributedCachePerfCounterHelper 成员

Microsoft.SharePoint.DistributedCaching.Utilities 命名空间