Database.ConnectionOpened 事件

定義

發生于 實例開啟 Database 新的資料庫連接時。

public static event EventHandler<WebMatrix.Data.ConnectionEventArgs> ConnectionOpened;
member this.ConnectionOpened : EventHandler<WebMatrix.Data.ConnectionEventArgs> 
Public Shared Custom Event ConnectionOpened As EventHandler(Of ConnectionEventArgs) 

事件類型

適用於