Share via


SPGeneralPerformanceCategoryDefinition constructor (String, IList<String>, IList<String>)

Initializes a new instance of the SPGeneralPerformanceCategoryDefinition class based on the categoryName, counterNames, and instanceNames parameters.

Namespace:  Microsoft.SharePoint.Diagnostics
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Sub New ( _
    categoryName As String, _
    counterNames As IList(Of String), _
    instanceNames As IList(Of String) _
)
'Usage
Dim categoryName As String
Dim counterNames As IList(Of String)
Dim instanceNames As IList(Of String)

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

Parameters

See also

Reference

SPGeneralPerformanceCategoryDefinition class

SPGeneralPerformanceCategoryDefinition members

SPGeneralPerformanceCategoryDefinition overload

Microsoft.SharePoint.Diagnostics namespace