Share via


LoadTestContext.AgentCount Property

Gets the total number of agents being 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
'Usage
Dim instance As LoadTestContext 
Dim value As Integer 

value = instance.AgentCount

instance.AgentCount = value
public int AgentCount { get; internal set; }
public:
property int AgentCount {
    int get ();
    void set (int value);
}
public function get AgentCount () : int 
public function set AgentCount (value : int)

Property Value

Type: System.Int32
The number of agents being used in the load test.

.NET Framework Security

See Also

Reference

LoadTestContext Class

LoadTestContext Members

Microsoft.VisualStudio.TestTools.LoadTesting Namespace