ConnectionEventArgs 類別

定義

提供 ConnectionOpened 類別之 Database 事件的資料。

public class ConnectionEventArgs : EventArgs
type ConnectionEventArgs = class
    inherit EventArgs
Public Class ConnectionEventArgs
Inherits EventArgs
繼承
ConnectionEventArgs

建構函式

ConnectionEventArgs(DbConnection)

初始化 ConnectionEventArgs 類別的新執行個體。

屬性

Connection

取得與事件相關聯的連線。

適用於