SPGeneralPerformanceCategoryDefinition - Constructeur (String, IList<String>, Boolean)
Initialise une nouvelle instance de la classe SPGeneralPerformanceCategoryDefinition basée sur les paramètres de monitorAllInstances , counterNameset categoryName.
Espace de noms : Microsoft.SharePoint.Diagnostics
Assembly : Microsoft.SharePoint (dans Microsoft.SharePoint.dll)
Syntaxe
'Déclaration
Public Sub New ( _
categoryName As String, _
counterNames As IList(Of String), _
monitorAllInstances As Boolean _
)
'Utilisation
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
)
Paramètres
- categoryName
Type : System.String
- counterNames
Type : System.Collections.Generic.IList<String>
- monitorAllInstances
Type : System.Boolean
Voir aussi
Référence
SPGeneralPerformanceCategoryDefinition classe
SPGeneralPerformanceCategoryDefinition - Membres