LoadTestGoalBasedLoadProfile.MinUserCount Property
Gets or sets the minimum user count. The load cannot go below this value even to satisfy the goal.
Namespace: Microsoft.VisualStudio.TestTools.LoadTesting
Assembly: Microsoft.VisualStudio.QualityTools.LoadTestFramework (in Microsoft.VisualStudio.QualityTools.LoadTestFramework.dll)
Syntax
'Declaration
Public Overrides Property MinUserCount As Integer
public override int MinUserCount { get; set; }
public:
virtual property int MinUserCount {
int get () override;
void set (int value) override;
}
abstract MinUserCount : int with get, set
override MinUserCount : int with get, set
override function get MinUserCount () : int
override function set MinUserCount (value : int)
Property Value
Type: System.Int32
The minimum user count.
Remarks
Changes to any properties of any of the LoadTestLoadProfile classes should all be made before you assign the LoadTestLoadProfile object to the LoadProfile property of the LoadTestScenario. After the LoadTestLoadProfile object has been assigned to the LoadProfile property, it becomes a read-only version. An exception will be thrown if you try to set any properties of the LoadProfile object when it is in the read-only state. To get a new writable LoadProfile object, call the Copy() method, as shown in the example under LoadTestGoalBasedLoadProfile.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.