SqlConnectionInfo 构造函数 (SqlConnectionInfo)
Initializes a new instance of the SqlConnectionInfo class.
命名空间: Microsoft.SqlServer.Management.Common
程序集: Microsoft.SqlServer.ConnectionInfo(在 Microsoft.SqlServer.ConnectionInfo.dll 中)
语法
声明
Public Sub New ( _
conn As SqlConnectionInfo _
)
用法
Dim conn As SqlConnectionInfo
Dim instance As New SqlConnectionInfo(conn)
public SqlConnectionInfo(
SqlConnectionInfo conn
)
public:
SqlConnectionInfo(
SqlConnectionInfo^ conn
)
new :
conn:SqlConnectionInfo -> SqlConnectionInfo
public function SqlConnectionInfo(
conn : SqlConnectionInfo
)
参数
- conn
类型:Microsoft.SqlServer.Management.Common.SqlConnectionInfo
A SqlConnectionInfo object value that specifies the object on which to base the new SqlConnectionInfo object.