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