ConnectionInfoBase 构造函数 (ConnectionType)

Initializes a new instance of the ConnectionInfoBase class with the specified connection type.

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

参数