ConnectionInfoBase 构造函数 (ConnectionInfoBase)
基于指定的对象初始化 ConnectionInfoBase 类的新实例。
命名空间: Microsoft.SqlServer.Management.Common
程序集: Microsoft.SqlServer.ConnectionInfo(在 Microsoft.SqlServer.ConnectionInfo.dll 中)
语法
声明
Protected Sub New ( _
conn As ConnectionInfoBase _
)
用法
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
)
参数
- conn
类型:Microsoft.SqlServer.Management.Common.ConnectionInfoBase
一个 ConnectionInfoBase 对象值,该值指定建立新对象所基于的连接信息。