次の方法で共有


SPDistributedCachePerfCounterHelper.AddCounter method

Namespace:  Microsoft.SharePoint.DistributedCaching.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Shared Sub AddCounter ( _
    category As String, _
    counter As String, _
    addAllInstances As Boolean _
)
'Usage
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
)

Parameters

See also

Reference

SPDistributedCachePerfCounterHelper class

SPDistributedCachePerfCounterHelper members

Microsoft.SharePoint.DistributedCaching.Utilities namespace