---
title: "get_data_connection method"
url: "https://reference.aspose.com/diagram/python-net/aspose.diagram/dataconnectioncollection/get_data_connection/"
product: "Aspose.Diagram for Python via .NET API References"
---


## get_data_connection(id) {#int}

Gets the element at the specified ID.

### Returns 


DataConnection [DataConnection](/diagram/python-net/aspose.diagram/dataconnection).


```python
def get_data_connection(self, id):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| id | int | ID of DataConnectionUInt32. |



### See Also
* module [aspose.diagram](../../)
* class [DataConnectionCollection](/diagram/python-net/aspose.diagram/dataconnectioncollection)
