TestResultMessage.ComputerName Property

Gets the name of the computer that executed the associated test run or test.

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
[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

Property Value

Type: System.String
The name of the computer that executed the test run.

.NET Framework Security

See Also

Reference

TestResultMessage Class

Microsoft.VisualStudio.TestTools.Common Namespace