SPPerformanceCategoryDefinition Members

Include Protected Members
Include Inherited Members

Stores information about a set of performance counters in a set categoryand provides methods for normalizing counter information.

The SPPerformanceCategoryDefinition type exposes the following members.


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



  Name Description
Public property CategoryName The name of the performance counter category/object to monitor.
Public property CounterNames
Public property InstanceNames Instance names.
Public property LocalizedCategoryName The localization name of the category.
Public property ProviderName Display the provider name if the definition is under a specific provider.
Public property UpgradedPersistedProperties Gets the collection of field names and values for fields that were deleted or changed. (Inherited from SPAutoSerializingObject.)



  Name Description
Public method AddCounter Add a counter name to the definition.
Public method AddInstance Add a performance counter by specifying the instance.
Public method ContainsCounter
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.
Public method RemoveInstance Remove an instance from the category.
Public method ShouldMonitorInstance This method should return true if the specified instance should be monitored.
Public method ToString (Inherited from Object.)
Protected method UpdateParent Causes the containing SPPersistedObject, if one exists, to update its state. (Inherited from SPAutoSerializingObject.)


See Also


SPPerformanceCategoryDefinition Class

Microsoft.SharePoint.Diagnostics Namespace