DbCommand.DbConnection DbCommand.DbConnection DbCommand.DbConnection DbCommand.DbConnection Property

定义

当在派生类中重写时,获取或设置此 DbCommand 使用的 DbConnectionWhen overridden in a derived class, gets or sets the DbConnection used by this 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; }
member this.DbConnection : System.Data.Common.DbConnection with get, set
Protected MustOverride Property DbConnection As DbConnection

属性值

与数据源的连接。The connection to the data source.

适用于

另请参阅