ComputerInfo Constructor (String)
Initializes an instance of the ComputerInfo class by using the provided computer name.
Namespace: Microsoft.VisualStudio.TestTools.Common
Assembly: Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)
Syntax
'Declaration
Public Sub New ( _
computerName As String _
)
public ComputerInfo(
string computerName
)
public:
ComputerInfo(
String^ computerName
)
new :
computerName:string -> ComputerInfo
public function ComputerInfo(
computerName : String
)
Parameters
computerName
Type: StringA string that contains the name of the computer.
.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.