ManagedComputer Constructor (String, String, String, ProviderArchitecture)
Initializes a new instance of the ManagedComputer class with the specified computer name the specified login, password and the specified ProviderArchitecture.
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, _
providerArchitecture As ProviderArchitecture _
)
'Uso
Dim machineName As String
Dim userName As String
Dim password As String
Dim providerArchitecture As ProviderArchitecture
Dim instance As New ManagedComputer(machineName, _
userName, password, providerArchitecture)
public ManagedComputer(
string machineName,
string userName,
string password,
ProviderArchitecture providerArchitecture
)
public:
ManagedComputer(
String^ machineName,
String^ userName,
String^ password,
ProviderArchitecture providerArchitecture
)
new :
machineName:string *
userName:string *
password:string *
providerArchitecture:ProviderArchitecture -> ManagedComputer
public function ManagedComputer(
machineName : String,
userName : String,
password : String,
providerArchitecture : ProviderArchitecture
)
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.
- providerArchitecture
Tipo: Microsoft.SqlServer.Management.Smo.Wmi.ProviderArchitecture
The ProviderArchitecture value that specifies the provider architecture type.