Share via


LoadTestContext.AgentCount Property

Gets the total number of agents that are used in the load test run.

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

Syntax

'Declaration
Public Property AgentCount As Integer
public int AgentCount { get; internal set; }
public:
property int AgentCount {
    int get ();
    internal: void set (int value);
}
member AgentCount : int with get, internal set
function get AgentCount () : int 
internal function set AgentCount (value : int)

Property Value

Type: Int32
The number of agents that are used in the load test.

.NET Framework Security

See Also

Reference

LoadTestContext Class

Microsoft.VisualStudio.TestTools.LoadTesting Namespace