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 with get
function get AgentName () : String
Property Value
Type: String
The name of the computer that is running the test.
.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.