Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- 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.