Back to Devexpress

DashboardOlapDataSource.OlapDataProvider Property

dashboard-devexpress-dot-dashboardcommon-dot-dashboardolapdatasource.md

latest3.6 KB
Original Source

DashboardOlapDataSource.OlapDataProvider Property

Gets or sets a data provider used to connect to the DashboardOlapDataSource.

Namespace : DevExpress.DashboardCommon

Assembly : DevExpress.Dashboard.v25.2.Core.dll

NuGet Package : DevExpress.Dashboard.Core

Declaration

csharp
public static OlapDataProviderType OlapDataProvider { get; set; }
vb
Public Shared Property OlapDataProvider As OlapDataProviderType

Property Value

TypeDescription
OlapDataProviderType

A OlapDataProviderType value that specifies a data provider used to connect to the DashboardOlapDataSource.

|

Available values:

NameDescription
Adomd

The ADOMD.NET data provider.

| | Xmla |

The XMLA data access standard.

|

The following code snippets (auto-collected from DevExpress Examples) contain references to the OlapDataProvider property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

asp-net-core-dashboard-separate-server-settings-for-different-views/CS/Startup.cs#L39

csharp
DevExpress.DashboardCommon.DashboardOlapDataSource.OlapDataProvider = DevExpress.DashboardCommon.OlapDataProviderType.Xmla;
}

WebFormsDashboardConfigurator/CS/WebFormsDashboardConfigurator/Global.asax.cs#L24

csharp
DashboardOlapDataSource olapDataSource = new DashboardOlapDataSource("OLAP Data Source", "olapConnection");
DashboardOlapDataSource.OlapDataProvider = OlapDataProviderType.Xmla;
dataSourceStorage.RegisterDataSource("olapDataSource", olapDataSource.SaveToXml());

WebFormsDashboardConfigurator/VB/WebFormsDashboardConfigurator/Global.asax.vb#L26

vb
Dim olapDataSource As New DashboardOlapDataSource("OLAP Data Source", "olapConnection")
DashboardOlapDataSource.OlapDataProvider = OlapDataProviderType.Xmla
dataSourceStorage.RegisterDataSource("olapDataSource", olapDataSource.SaveToXml())

See Also

DashboardOlapDataSource Class

DashboardOlapDataSource Members

DevExpress.DashboardCommon Namespace