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 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
- 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.