AgentContext.DisplayName Property
Gets or sets the display name of the agent, which is unique throughout an environment.
Namespace: Microsoft.VisualStudio.TestTools.Execution
Assembly: Microsoft.VisualStudio.QualityTools.ExecutionCommon (in Microsoft.VisualStudio.QualityTools.ExecutionCommon.dll)
Syntax
'Declaration
Public Property DisplayName As String
public string DisplayName { get; internal set; }
public:
property String^ DisplayName {
String^ get ();
internal: void set (String^ value);
}
member DisplayName : string with get, internal set
function get DisplayName () : String
internal function set DisplayName (value : String)
Property Value
Type: System.String
A string that contains the display name of the 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.