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 | |
---|---|---|
SPGeneralPerformanceCategoryDefinition() | Initializes a new instance of the SPGeneralPerformanceCategoryDefinition class. | |
SPGeneralPerformanceCategoryDefinition(String, IList<String>) | Initializes a new instance of the SPGeneralPerformanceCategoryDefinition class based on the categoryName, and counterNames parameters. | |
SPGeneralPerformanceCategoryDefinition(String, IList<String>, Boolean) | Initializes a new instance of the SPGeneralPerformanceCategoryDefinition class based on the categoryName, counterNames, and monitorAllInstances parameters. | |
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 | |
---|---|---|
CategoryName | The name of the performance counter category/object to monitor. (Inherited from SPPerformanceCategoryDefinition.) | |
CounterNames | The list of counters in the category to monitor. (Inherited from SPPerformanceCategoryDefinition.) | |
InstanceNames | Instance names. (Overrides SPPerformanceCategoryDefinition.InstanceNames.) | |
LocalizedCategoryName | The localization name of the category. (Inherited from SPPerformanceCategoryDefinition.) | |
MonitorAllInstances | A Boolean variable specifying whether all instances are monitored or not. | |
ProviderName | Display the provider name if the definition is under a specific provider. (Inherited from SPPerformanceCategoryDefinition.) | |
UpgradedPersistedProperties | Gets the collection of field names and values for fields that were deleted or changed. (Inherited from SPAutoSerializingObject.) |
Top
Methods
Name | Description | |
---|---|---|
AddCounter | Add a counter name to the definition. (Inherited from SPPerformanceCategoryDefinition.) | |
AddInstance | Adds an instance to the category. (Overrides SPPerformanceCategoryDefinition.AddInstance(String).) | |
ContainsCounter | Check if a counter exists in the category (Inherited from SPPerformanceCategoryDefinition.) | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetObjectData | Gets the serialized state of the object. (Inherited from SPAutoSerializingObject.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
OnDeserialization | Called after the object has been deserialized from the file system cache or the database. (Inherited from SPAutoSerializingObject.) | |
RemoveCounter | Remove an instance from the category. (Inherited from SPPerformanceCategoryDefinition.) | |
RemoveInstance | Removes an instance from the category. (Overrides SPPerformanceCategoryDefinition.RemoveInstance(String).) | |
ShouldMonitorInstance | Directly compare the instance name. The # suffix of duplicate instance will be removed. (Overrides SPPerformanceCategoryDefinition.ShouldMonitorInstance(String).) | |
ToString | (Inherited from Object.) | |
UpdateParent | Causes the containing SPPersistedObject, if one exists, to update its state. (Inherited from SPAutoSerializingObject.) |
Top