Compartir a través de


Computer Constructor

Initializes a new instance of the Computer class.

Espacio de nombres:  Microsoft.SqlServer.Management.Utility
Ensamblado:  Microsoft.SqlServer.Management.Utility (en Microsoft.SqlServer.Management.Utility.dll)

Sintaxis

'Declaración
Public Sub New
'Uso

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

Comentarios

The default constructor initializes any fields to their default values.

Ejemplos

VC#

Computer computer;
computer = new Computer();

VB

Dim computer As Computer
computer = New Computer()

PowerShell

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