Поделиться через


Конструктор Computer

Initializes a new instance of the Computer class.

Пространство имен:  Microsoft.SqlServer.Management.Utility
Сборка:  Microsoft.SqlServer.Management.Utility (в Microsoft.SqlServer.Management.Utility.dll)

Синтаксис

'Декларация
Public Sub New
'Применение

Dim instance As New Computer()
public Computer()
public:
Computer()
new : unit -> Computer
public function Computer()

Замечания

The default constructor initializes any fields to their default values.

Примеры

VC#

Computer computer;
computer = new Computer();

VB

Dim computer As Computer
computer = New Computer()

PowerShell

$computer = New-Object Microsoft.SqlServer.Management.Utility.Computer()