WebTestContext.AgentName Property
Gets the name of the agent computer on which the WebTest is running.
Namespace: Microsoft.VisualStudio.TestTools.WebTesting
Assembly: Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)
Syntax
'Declaration
Public ReadOnly Property AgentName As String
public string AgentName { get; }
public:
property String^ AgentName {
String^ get ();
}
member AgentName : string with get
function get AgentName () : String
Property Value
Type: String
The agent computer name.
.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.
See Also
Reference
Microsoft.VisualStudio.TestTools.WebTesting Namespace