ConnectionInfoBase Constructor (ConnectionInfoBase)
Initializes a new instance of the ConnectionInfoBase class based on the specified object.
Namespace: Microsoft.SqlServer.Management.Common
Assembly: Microsoft.SqlServer.ConnectionInfo (in Microsoft.SqlServer.ConnectionInfo.dll)
Syntax
'Declaration
Protected Sub New ( _
conn As ConnectionInfoBase _
)
'Usage
Dim conn As ConnectionInfoBase
Dim instance As New ConnectionInfoBase(conn)
protected ConnectionInfoBase(
ConnectionInfoBase conn
)
protected:
ConnectionInfoBase(
ConnectionInfoBase^ conn
)
new :
conn:ConnectionInfoBase -> ConnectionInfoBase
protected function ConnectionInfoBase(
conn : ConnectionInfoBase
)
Parameters
- conn
Type: Microsoft.SqlServer.Management.Common.ConnectionInfoBase
A ConnectionInfoBase object value that specifies connection information on which to base the new object.