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.