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
)
參數
- serverType
型別:Microsoft.SqlServer.Management.Common. . :: . .ConnectionType
A ConnectionType object value that specifies the type of connection.