ManagedComputer Constructor (String, String, String)
Initializes a new instance of the ManagedComputer class with the specified computer name and the specified login and password.
Namespace: Microsoft.SqlServer.Management.Smo.Wmi
Assembly: Microsoft.SqlServer.SqlWmiManagement (in microsoft.sqlserver.sqlwmimanagement.dll)
Syntax
'Deklaracja
Public Sub New ( _
machineName As String, _
userName As String, _
password As String _
)
public ManagedComputer (
string machineName,
string userName,
string password
)
public:
ManagedComputer (
String^ machineName,
String^ userName,
String^ password
)
public ManagedComputer (
String machineName,
String userName,
String password
)
public function ManagedComputer (
machineName : String,
userName : String,
password : String
)
Parameters
- machineName
A String value that specifies the name of the computer.
- userName
A String value that specifies the user name.
- password
A String value that specifies the password.
Platforms
Development Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.
Target Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.
See Also