Share via


SPGeneralPerformanceCategoryDefinition members

General definition for an arbitrary category and its counters. It stores the counter names and instance names for each counter.

The SPGeneralPerformanceCategoryDefinition type exposes the following members.

Constructors

  Name Description
Public method SPGeneralPerformanceCategoryDefinition() Initializes a new instance of the SPGeneralPerformanceCategoryDefinition class.
Public method SPGeneralPerformanceCategoryDefinition(String, IList<String>) Initializes a new instance of the SPGeneralPerformanceCategoryDefinition class based on the categoryName, and counterNames parameters.
Public method SPGeneralPerformanceCategoryDefinition(String, IList<String>, Boolean) Initializes a new instance of the SPGeneralPerformanceCategoryDefinition class based on the categoryName, counterNames, and monitorAllInstances parameters.
Public method SPGeneralPerformanceCategoryDefinition(String, IList<String>, IList<String>) Initializes a new instance of the SPGeneralPerformanceCategoryDefinition class based on the categoryName, counterNames, and instanceNames parameters.

Top

Properties

  Name Description
Public property CategoryName The name of the performance counter category/object to monitor. (Inherited from SPPerformanceCategoryDefinition.)
Public property CounterNames The list of counters in the category to monitor. (Inherited from SPPerformanceCategoryDefinition.)
Public property InstanceNames Instance names. (Overrides SPPerformanceCategoryDefinition.InstanceNames.)
Public property LocalizedCategoryName The localization name of the category. (Inherited from SPPerformanceCategoryDefinition.)
Public property MonitorAllInstances A Boolean variable specifying whether all instances are monitored or not.
Public property ProviderName Display the provider name if the definition is under a specific provider. (Inherited from SPPerformanceCategoryDefinition.)
Public property UpgradedPersistedProperties Gets the collection of field names and values for fields that were deleted or changed. (Inherited from SPAutoSerializingObject.)

Top

Methods

  Name Description
Public method AddCounter Add a counter name to the definition. (Inherited from SPPerformanceCategoryDefinition.)
Public method AddInstance Adds an instance to the category. (Overrides SPPerformanceCategoryDefinition.AddInstance(String).)
Public method ContainsCounter Check if a counter exists in the category (Inherited from SPPerformanceCategoryDefinition.)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetObjectData Gets the serialized state of the object. (Inherited from SPAutoSerializingObject.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Protected method OnDeserialization Called after the object has been deserialized from the file system cache or the database. (Inherited from SPAutoSerializingObject.)
Public method RemoveCounter Remove an instance from the category. (Inherited from SPPerformanceCategoryDefinition.)
Public method RemoveInstance Removes an instance from the category. (Overrides SPPerformanceCategoryDefinition.RemoveInstance(String).)
Public method ShouldMonitorInstance Directly compare the instance name. The # suffix of duplicate instance will be removed. (Overrides SPPerformanceCategoryDefinition.ShouldMonitorInstance(String).)
Public method ToString (Inherited from Object.)
Protected method UpdateParent Causes the containing SPPersistedObject, if one exists, to update its state. (Inherited from SPAutoSerializingObject.)

Top

See also

Reference

SPGeneralPerformanceCategoryDefinition class

Microsoft.SharePoint.Diagnostics namespace