ConnectionInfoBase 建構函式 (ConnectionType)
使用指定的連接類型初始化 ConnectionInfoBase 類別的新執行個體。
命名空間: Microsoft.SqlServer.Management.Common
組件: Microsoft.SqlServer.ConnectionInfo (在 Microsoft.SqlServer.ConnectionInfo.dll 中)
語法
'宣告
Protected Sub New ( _
serverType As ConnectionType _
)
'用途
Dim serverType As ConnectionType
Dim instance As New ConnectionInfoBase(serverType)
protected ConnectionInfoBase(
ConnectionType serverType
)
protected:
ConnectionInfoBase(
ConnectionType serverType
)
new :
serverType:ConnectionType -> ConnectionInfoBase
protected function ConnectionInfoBase(
serverType : ConnectionType
)
參數
- serverType
型別:Microsoft.SqlServer.Management.Common.ConnectionType
指定連接類型的 ConnectionType 物件值。