Bewerken

Share via


DbCommand.IDbCommand.Connection Property

Definition

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

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

Property Value

The connection to the data source.

Implements

Remarks

For more information, see Connection.

Applies to

See also