HostRunConfigurationData.CurrentHostType Property
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Gets a description of the current test run host.
Namespace: Microsoft.VisualStudio.TestTools.Common
Assembly: Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)
Syntax
'Declaration
Public Property CurrentHostType As String
public string CurrentHostType { get; set; }
public:
property String^ CurrentHostType {
String^ get ();
void set (String^ value);
}
member CurrentHostType : string with get, set
function get CurrentHostType () : String
function set CurrentHostType (value : String)
Property Value
Type: System.String
A description of the current test run host, or nulla null reference (Nothing in Visual Basic) if no host is selected.
.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.