ConnectionInfoBase Constructor (ConnectionType)
Initializes a new instance of the ConnectionInfoBase class with the specified connection type.
Namespace: Microsoft.SqlServer.Management.Common
Assembly: Microsoft.SqlServer.ConnectionInfo (in Microsoft.SqlServer.ConnectionInfo.dll)
Syntax
'Declaration
Protected Sub New ( _
serverType As ConnectionType _
)
'Usage
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
)
Parameters
- serverType
Type: Microsoft.SqlServer.Management.Common.ConnectionType
A ConnectionType object value that specifies the type of connection.