SPGeneralPerformanceCategoryDefinition constructor (String, IList<String>, Boolean)
Initializes a new instance of the SPGeneralPerformanceCategoryDefinition class based on the categoryName, counterNames, and monitorAllInstances 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), _
monitorAllInstances As Boolean _
)
'Usage
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
)
Parameters
- categoryName
Type: System.String
- counterNames
Type: System.Collections.Generic.IList<String>
- monitorAllInstances
Type: System.Boolean
See also
Reference
SPGeneralPerformanceCategoryDefinition class
SPGeneralPerformanceCategoryDefinition members