Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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
- sci
Type: Microsoft.SqlServer.Management.Common.SqlConnectionInfo
A SqlConnectionInfo object value that specifies the connection information that is required to establish a connection.