Partilhar via


Construtor ManagedComputer (String, String, String)

Inicializa uma nova instância da classe ManagedComputer com o nome do computador, o logon e a senha especificados.

Namespace:  Microsoft.SqlServer.Management.Smo.Wmi
Assembly:  Microsoft.SqlServer.SqlWmiManagement (em Microsoft.SqlServer.SqlWmiManagement.dll)

Sintaxe

'Declaração
Public Sub New ( _
    machineName As String, _
    userName As String, _
    password As String _
)
'Uso
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
)

Parâmetros