Condividi tramite


Costruttore ManagedComputer (String, String, String)

Inizializza una nuova istanza della classe ManagedComputer con il nome del computer specificato e l'account di accesso e la password specificati.

Spazio dei nomi  Microsoft.SqlServer.Management.Smo.Wmi
Assembly:  Microsoft.SqlServer.SqlWmiManagement (in Microsoft.SqlServer.SqlWmiManagement.dll)

Sintassi

'Dichiarazione
Public Sub New ( _
    machineName As String, _
    userName As String, _
    password As String _
)
'Utilizzo
Dim machineName As String
Dim userName As String
Dim password As String

Dim instance As New ManagedComputer(machineName, _
    userName, password)
public ManagedComputer(
    string machineName,
    string userName,
    string password
)
public:
ManagedComputer(
    String^ machineName, 
    String^ userName, 
    String^ password
)
new : 
        machineName:string * 
        userName:string * 
        password:string -> ManagedComputer
public function ManagedComputer(
    machineName : String, 
    userName : String, 
    password : String
)

Parametri