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!

CounterSample.Calculate (CounterSample)

Static functions to calculate the performance value off the sample

[Visual Basic]
Overloads Public Shared Function Calculate( _
   ByVal counterSample As CounterSample _
) As Single
[C#]
public static float Calculate(
   CounterSample counterSample
);
[C++]
public: static float Calculate(
   CounterSample counterSample
);
[JScript]
public static function Calculate(
   counterSample : CounterSample
) : float;

Parameters

counterSample
Countersample to calculate from.

Return Value

Calculated performance value.

See Also

CounterSample Structure | CounterSample Members | System.Diagnostics Namespace | CounterSample.Calculate Overload List