다음을 통해 공유


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

See Also

Reference

WebTestContext Class

Microsoft.VisualStudio.TestTools.WebTesting Namespace

Other Resources

Working with Agents