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.