Share via


LoadTestGoalBasedLoadProfile.HigherValuesBetter Property

Set this Boolean value to True when the performance counter specified by the Category and Counter properties is a performance counter for which a lower value indicates higher utilization 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
'Usage
Dim instance As LoadTestGoalBasedLoadProfile 
Dim value As Boolean 

value = instance.HigherValuesBetter

instance.HigherValuesBetter = value
public bool HigherValuesBetter { get; set; }
public:
property bool HigherValuesBetter {
    bool get ();
    void set (bool value);
}
public function get HigherValuesBetter () : boolean 
public function set HigherValuesBetter (value : boolean)

Property Value

Type: System.Boolean
True if a lower value indicates higher utilization; otherwise, false.

Examples

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

.NET Framework Security

See Also

Reference

LoadTestGoalBasedLoadProfile Class

LoadTestGoalBasedLoadProfile Members

Microsoft.VisualStudio.TestTools.LoadTesting Namespace