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
)

參數

請參閱

參考

ConnectionInfoBase 類別

ConnectionInfoBase 多載

Microsoft.SqlServer.Management.Common 命名空間