共用方式為


DbCommand.DbConnection 屬性

定義

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

protected:
 abstract property System::Data::Common::DbConnection ^ DbConnection { System::Data::Common::DbConnection ^ get(); void set(System::Data::Common::DbConnection ^ value); };
protected abstract System.Data.Common.DbConnection DbConnection { get; set; }
protected abstract System.Data.Common.DbConnection? DbConnection { get; set; }
member this.DbConnection : System.Data.Common.DbConnection with get, set
Protected MustOverride Property DbConnection As DbConnection

屬性值

資料來源的連接。

適用於

另請參閱