Bagikan melalui


LoadTestLoadProfile.MinUserCount Property

Gets or sets the minimum number of users that that can be returned by the GetLoad method of the class extending LoadTestLoadProfile.

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

Syntax

'Declaration
Public Overridable Property MinUserCount As Integer
public virtual int MinUserCount { get; set; }
public:
virtual property int MinUserCount {
    int get ();
    void set (int value);
}
abstract MinUserCount : int with get, set 
override MinUserCount : int with get, set
function get MinUserCount () : int 
function set MinUserCount (value : int)

Property Value

Type: Int32
The smallest user count that will ever be returned by the LoadTestLoadProfile.GetLoad method.

Remarks

Changes to any of the properties should all be made before you assign a profile to the LoadProfileproperty. For an example, see LoadTestGoalBasedLoadProfile.

.NET Framework Security

See Also

Reference

LoadTestLoadProfile Class

Microsoft.VisualStudio.TestTools.LoadTesting Namespace

LoadTestScenario

LoadTestGoalBasedLoadProfile