Condividi tramite


Costruttore Computer

Initializes a new instance of the Computer class.

Spazio dei nomi  Microsoft.SqlServer.Management.Utility
Assembly:  Microsoft.SqlServer.Management.Utility (in Microsoft.SqlServer.Management.Utility.dll)

Sintassi

'Dichiarazione
Public Sub New
'Utilizzo

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

Osservazioni

The default constructor initializes any fields to their default values.

Esempi

VC#

Computer computer;
computer = new Computer();

VB

Dim computer As Computer
computer = New Computer()

PowerShell

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