Partager via


SqlConnectionInfo Constructor (String, String, String)

Initializes a new instance of the SqlConnectionInfo class.

Espace de noms: Microsoft.SqlServer.Management.Common
Assembly: Microsoft.SqlServer.ConnectionInfo (in microsoft.sqlserver.connectioninfo.dll)

Syntaxe

'Déclaration
Public Sub New ( _
    serverName As String, _
    userName As String, _
    password As String _
)
public SqlConnectionInfo (
    string serverName,
    string userName,
    string password
)
public:
SqlConnectionInfo (
    String^ serverName, 
    String^ userName, 
    String^ password
)
public SqlConnectionInfo (
    String serverName, 
    String userName, 
    String password
)
public function SqlConnectionInfo (
    serverName : String, 
    userName : String, 
    password : String
)

Paramètres

  • serverName
    A String object value that specifies the instance of SQL Server.
  • userName
    A String object value that specifies the user who is connected to the instance of SQL Server.
  • password
    A String object value that specifies the password supplied by the user to connect to the instance of SQL Server.

Notes

Cet espace de noms, cette classe ou ce membre est pris en charge uniquement par la version 2.0 de Microsoft .NET Framework.

Plateformes

Plateformes de développement

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Plateformes cibles

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Voir aussi

Référence

SqlConnectionInfo Class
SqlConnectionInfo Members
Microsoft.SqlServer.Management.Common Namespace