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!

PerformanceCounterCategory.Exists (String)

Returns true if the category is registered on the current machine.

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

Parameters

categoryName
performance category from which to remove a counter

Return Value

true if the category is registered, false otherwise

See Also

PerformanceCounterCategory Class | PerformanceCounterCategory Members | System.Diagnostics Namespace | PerformanceCounterCategory.Exists Overload List