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
- category
Type: System.String
- counter
Type: System.String
- addAllInstances
Type: System.Boolean
See also
Reference
SPDistributedCachePerfCounterHelper class