Share via


IRunContext.AgentName Property

Gets the name of the computer that is running the test.

Namespace:  Microsoft.VisualStudio.TestTools.Execution
Assembly:  Microsoft.VisualStudio.QualityTools.ExecutionCommon (in Microsoft.VisualStudio.QualityTools.ExecutionCommon.dll)

Syntax

'Declaration
ReadOnly Property AgentName As String
string AgentName { get; }
property String^ AgentName {
    String^ get ();
}
abstract AgentName : string
function get AgentName () : String

Property Value

Type: System.String
The name of the computer that is running the test.

.NET Framework Security

See Also

Reference

IRunContext Interface

Microsoft.VisualStudio.TestTools.Execution Namespace