Partager via


Constructeur ServerConnection (SqlConnectionInfo)

Initializes a new instance of the ServerConnection class with the specified connection information.

Espace de noms :  Microsoft.SqlServer.Management.Common
Assembly :  Microsoft.SqlServer.ConnectionInfo (en Microsoft.SqlServer.ConnectionInfo.dll)

Syntaxe

'Déclaration
Public Sub New ( _
    sci As SqlConnectionInfo _
)
'Utilisation
Dim sci As SqlConnectionInfo

Dim instance As New ServerConnection(sci)
public ServerConnection(
    SqlConnectionInfo sci
)
public:
ServerConnection(
    SqlConnectionInfo^ sci
)
new : 
        sci:SqlConnectionInfo -> ServerConnection
public function ServerConnection(
    sci : SqlConnectionInfo
)

Paramètres