Share via


LoadTestLoadProfile.MaxUserCount Property

Gets or sets the maximum number of users that can be returned by the GetLoad method.

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

Syntax

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

Property Value

Type: Int32
The maximum user count.

Remarks

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

.NET Framework Security

See Also

Reference

LoadTestLoadProfile Class

Microsoft.VisualStudio.TestTools.LoadTesting Namespace

LoadTestScenario

LoadTestGoalBasedLoadProfile