Share via


LoadTestContext.AgentName Property

Gets the name of the current agent.

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

Syntax

'Declaration
Public Property AgentName As String
'Usage
Dim instance As LoadTestContext 
Dim value As String 

value = instance.AgentName

instance.AgentName = value
public string AgentName { get; internal set; }
public:
property String^ AgentName {
    String^ get ();
    void set (String^ value);
}
public function get AgentName () : String 
public function set AgentName (value : String)

Property Value

Type: System.String
The name of the current agent.

.NET Framework Security

See Also

Reference

LoadTestContext Class

LoadTestContext Members

Microsoft.VisualStudio.TestTools.LoadTesting Namespace