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 命名空间