Freigeben über


TestResultMessage.ComputerName-Eigenschaft

Ruft den Namen des Computers ab, auf dem der zugeordnete Testlauf oder Test ausgeführt wurde.

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

Syntax

'Declaration
<UserVisiblePropertyAttribute("{C0A718B8-1878-4f61-9953-5C6D991A70EC}")> _
<GroupingPropertyAttribute> _
Public ReadOnly Property ComputerName As String
    Get
[UserVisiblePropertyAttribute("{C0A718B8-1878-4f61-9953-5C6D991A70EC}")]
[GroupingPropertyAttribute]
public string ComputerName { get; }
[UserVisiblePropertyAttribute(L"{C0A718B8-1878-4f61-9953-5C6D991A70EC}")]
[GroupingPropertyAttribute]
public:
property String^ ComputerName {
    String^ get ();
}
[<UserVisiblePropertyAttribute("{C0A718B8-1878-4f61-9953-5C6D991A70EC}")>]
[<GroupingPropertyAttribute>]
member ComputerName : string
function get ComputerName () : String

Eigenschaftswert

Typ: System.String
Der Name des Computers, auf dem der Testlauf ausgeführt wurde.

.NET Framework-Sicherheit

Siehe auch

Referenz

TestResultMessage Klasse

Microsoft.VisualStudio.TestTools.Common-Namespace