Share via

DbCommand.DbConnection Property


Gets or sets the DbConnection used by this DbCommand.

 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

Property Value

The connection to the data source.

Applies to

See also