NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Configuring PerformanceCounter Components

There are a variety of properties you must set on the PerformanceCounter components you create. These determine the counter with which the component interacts. The properties you must set include:

To configure an instance of the PerformanceCounter component

  1. Create an instance of the PerformanceCounter component. For details, see Creating PerformanceCounter Components .
  2. Indicate the counter with which your component should interact by setting the following properties.
    Property Setting
    MachineName Any server to which you have access.
    CategoryName Any category that exists on the server.
    CounterName Any counter within the selected category.
  3. If the counter with which you're interacting has several instances, choose the appropriate one in the InstanceName field.

See Also

Creating PerformanceCounter Components