共用方式為


DbCommand.Connection 屬性

定義

取得或設定這個 DbConnection 所使用的 DbCommand

public:
 property System::Data::Common::DbConnection ^ Connection { System::Data::Common::DbConnection ^ get(); void set(System::Data::Common::DbConnection ^ value); };
public System.Data.Common.DbConnection Connection { get; set; }
[System.ComponentModel.Browsable(false)]
public System.Data.Common.DbConnection? Connection { get; set; }
[System.ComponentModel.Browsable(false)]
public System.Data.Common.DbConnection Connection { get; set; }
member this.Connection : System.Data.Common.DbConnection with get, set
[<System.ComponentModel.Browsable(false)>]
member this.Connection : System.Data.Common.DbConnection with get, set
Public Property Connection As DbConnection

屬性值

資料來源的連接。

屬性

適用於

另請參閱