## DbCommand::get_Connection method


Ottiene la connessione al database associata al comando.

```cpp
virtual SharedPtr<System::Data::Common::DbConnection> System::Data::Common::DbCommand::get_Connection() const
```


### ReturnValue

Connessione al database.

## Vedi anche

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [DbConnection](../../dbconnection/)
* Class [DbCommand](../)
* Namespace [System::Data::Common](../../)
* Library [Aspose.Page for C++](../../../)
