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
public string AgentName { get; internal set; }
public:
property String^ AgentName {
    String^ get ();
    internal: void set (String^ value);
}
member AgentName : string with get, internal set
function get AgentName () : String 
internal function set AgentName (value : String)

Property Value

Type: String
The name of the current agent.

.NET Framework Security

See Also

Reference

LoadTestContext Class

Microsoft.VisualStudio.TestTools.LoadTesting Namespace