Bewerken

Share via


DbCommand.DbConnection Property

Definition

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; }
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