IDbCommand.Connection Property

Definition

Gets or sets the IDbConnection used by this instance of the IDbCommand.

public:
 property System::Data::IDbConnection ^ Connection { System::Data::IDbConnection ^ get(); void set(System::Data::IDbConnection ^ value); };
public System.Data.IDbConnection Connection { get; set; }
member this.Connection : System.Data.IDbConnection with get, set
Public Property Connection As IDbConnection

Property Value

The connection to the data source.

Applies to