SqlConnectionInfo 建構函式 (SqlConnectionInfo)
初始化 SqlConnectionInfo 類別的新執行個體。
命名空間: 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
SqlConnectionInfo 物件值,指定要做為新 SqlConnectionInfo 物件基礎的物件。