Gets or sets the data source type.
Visual Basic (Declaration) | |
---|---|
Public Property DataProvider As System.String |
C# | |
---|---|
public System.string DataProvider {get; set;} |
Property Value
A String indicating the data source type.
The DataProvider value determines the syntax used for the ConnectString and CommandText properties.
The table below contains the set of data source extensions available by default. Custom extensions can be created but RDL consumers take caution when loading reports containing unknown or unsupported extensions.
Extension | Description |
---|---|
SQL | Microsoft SQL Server |
OLEDB | Microsoft OLE DB Provider |
ODBC | Microsoft Open Database Connectivity Driver |
Oracle | Oracle |
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2