---
title: "DataSource Element"
---

The DataSource element contains information about a connection to a data source. Only one child element from the table below is allowed. The child element defines the data source connection type.

| Name | Cardinality | Has Children | Description |
| :- | :- | :- | :- |
| `SqlDataSource` | 1 | Yes | Describes a connection to a Microsoft SQL Server database. |
| `OleDbDataSource` | 1 | Yes | Describes a connection to a data source via OLE DB provider. |
| `SPDataSource` | 1 | Yes | Describes a connection to a SharePoint server. |
