共用方式為


DatabaseConnectionControl.ConnectionAdded 欄位

當使用者使用 [新增連接] 按鈕加入連接時引發的事件。

命名空間:  Microsoft.VisualStudio.Data.Schema.Package.UI
組件:  Microsoft.VisualStudio.Data.Schema.Package (在 Microsoft.VisualStudio.Data.Schema.Package.dll 中)

語法

'宣告
Public ConnectionAdded As EventHandler(Of DatabaseConnectionAddedOrRemovedEventArgs)
public EventHandler<DatabaseConnectionAddedOrRemovedEventArgs> ConnectionAdded
public:
EventHandler<DatabaseConnectionAddedOrRemovedEventArgs^>^ ConnectionAdded
val mutable ConnectionAdded: EventHandler<DatabaseConnectionAddedOrRemovedEventArgs>
public var ConnectionAdded : EventHandler<DatabaseConnectionAddedOrRemovedEventArgs>

.NET Framework 安全性

請參閱

參考

DatabaseConnectionControl 類別

Microsoft.VisualStudio.Data.Schema.Package.UI 命名空間