Share via


LoadTestGoalBasedLoadProfile.HigherValuesBetter Property

Set this Boolean value to true when the performance counter that is specified by the Category and Counter properties is a performance counter for which a lower value indicates a higher usage of a resource.

Namespace:  Microsoft.VisualStudio.TestTools.LoadTesting
Assembly:  Microsoft.VisualStudio.QualityTools.LoadTestFramework (in Microsoft.VisualStudio.QualityTools.LoadTestFramework.dll)

Syntax

'Declaration
Public Property HigherValuesBetter As Boolean
public bool HigherValuesBetter { get; set; }
public:
property bool HigherValuesBetter {
    bool get ();
    void set (bool value);
}
member HigherValuesBetter : bool with get, set
function get HigherValuesBetter () : boolean
function set HigherValuesBetter (value : boolean)

Property Value

Type: System.Boolean
true if a lower value indicates higher usage; otherwise, false.

Examples

The value of the "Available Mbytes" counter in the "Memory" category decreases as memory usage increases. Therefore, the HigherValuesBetter value should be true in this case, although this situation represents an exception.

.NET Framework Security

See Also

Reference

LoadTestGoalBasedLoadProfile Class

Microsoft.VisualStudio.TestTools.LoadTesting Namespace