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

See Also

Reference

AgentContext Class

Microsoft.VisualStudio.TestTools.Execution Namespace