DbCommand.Connection Propriedade

Definição

Obtém ou define o DbConnection usado pelo DbCommand.

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

Valor da propriedade

A conexão com a fonte de dados.

Atributos

Aplica-se a

Confira também