共用方式為


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
)

參數