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!

PerformanceCounter.CategoryExists

[To be supplied.]

Overload List

Returns true if the category is registered in the machine.

[Visual Basic] Overloads Public Shared Function CategoryExists(String, String) As Boolean
[C#] public static bool CategoryExists(String, String);
[C++] public: static bool CategoryExists(String*, String*);
[JScript] public static function CategoryExists(String, String) : Boolean;

Returns a bool of whether the categoryName is in the system or not.

[Visual Basic] Overloads Public Shared Function CategoryExists(String) As Boolean
[C#] public static bool CategoryExists(String);
[C++] public: static bool CategoryExists(String*);
[JScript] public static function CategoryExists(String) : Boolean;

See Also

PerformanceCounter Class | PerformanceCounter Members | System.Diagnostics Namespace