Condividi tramite


Costruttore ServerConnection (SqlConnectionInfo)

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

Spazio dei nomi  Microsoft.SqlServer.Management.Common
Assembly:  Microsoft.SqlServer.ConnectionInfo (in Microsoft.SqlServer.ConnectionInfo.dll)

Sintassi

'Dichiarazione
Public Sub New ( _
    sci As SqlConnectionInfo _
)
'Utilizzo
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
)

Parametri