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 物件值,指定要做為新物件基礎的連接資訊。