ManagedComputer Constructor (String, String, String)
Initializes a new instance of the ManagedComputer class with the specified computer name and the specified login and password.
Espacio de nombres: Microsoft.SqlServer.Management.Smo.Wmi
Ensamblado: Microsoft.SqlServer.SqlWmiManagement (en Microsoft.SqlServer.SqlWmiManagement.dll)
Sintaxis
'Declaración
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
- machineName
Tipo: System.String
A String value that specifies the name of the computer.
- userName
Tipo: System.String
A String value that specifies the user name.
- password
Tipo: System.String
A String value that specifies the password.
Ejemplos
Administrar servicios y configuración de red utilizando el proveedor WMI
Vea también
Referencia
Espacio de nombres Microsoft.SqlServer.Management.Smo.Wmi