Конструктор ServerConnection (SqlConnectionInfo)
Initializes a new instance of the ServerConnection class with the specified connection information.
Пространство имен: Microsoft.SqlServer.Management.Common
Сборка: Microsoft.SqlServer.ConnectionInfo (в Microsoft.SqlServer.ConnectionInfo.dll)
Синтаксис
'Декларация
Public Sub New ( _
sci As SqlConnectionInfo _
)
'Применение
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
)
Параметры
- sci
Тип: Microsoft.SqlServer.Management.Common. . :: . .SqlConnectionInfo
A SqlConnectionInfo object value that specifies the connection information that is required to establish a connection.