Share via


ServerConnection Constructor (SqlConnectionInfo)

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

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

Syntax

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

Parameters

See Also

Reference

ServerConnection Class

ServerConnection Overload

Microsoft.SqlServer.Management.Common Namespace