DbCommand.Connection DbCommand.Connection DbCommand.Connection DbCommand.Connection Property

Definition

Gets or sets the DbConnection used by this DbCommand.

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

The connection to the data source.

Applies to

See Also