Compartilhar via


Construtor ServerConnection (SqlConnectionInfo)

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

Namespace:  Microsoft.SqlServer.Management.Common
Assembly:  Microsoft.SqlServer.ConnectionInfo (em Microsoft.SqlServer.ConnectionInfo.dll)

Sintaxe

'Declaração
Public Sub New ( _
    sci As SqlConnectionInfo _
)
'Uso
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
)

Parâmetros