wpf-devexpress-dot-xpf-dot-pivotgrid-dot-pivotgridcontrol-d4eb9317.md
Gets or sets which data provider should be used to bind to an OLAP cube. This is a dependency property.
Namespace : DevExpress.Xpf.PivotGrid
Assembly : DevExpress.Xpf.PivotGrid.v25.2.dll
NuGet Package : DevExpress.Wpf.PivotGrid
public OlapDataProvider OlapDataProvider { get; set; }
Public Property OlapDataProvider As OlapDataProvider
| Type | Description |
|---|---|
| OlapDataProvider |
An OlapDataProvider enumeration member that specifies which data provider should be used to bind to an OLAP cube.
|
Available values:
| Name | Description |
|---|---|
| Default |
The default OLAP provider (see the respective property description for details).
| | Adomd |
The ADOMD.NET data provider.
| | OleDb |
The OLE DB data provider.
| | Xmla |
The XMLA data access standard.
|
PivotGridControl can use one of the following data providers to communicate with the Microsoft Analysis Services server.
OLE DB for OLAP
ADOMD.NET
XMLA
The default data provider for DXPivotGrid for WPF is OLE DB.
The following code snippet (auto-collected from DevExpress Examples) contains a reference 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.
wpf-pivot-grid-connect-to-an-olap-datasource/CS/WpfOlapRetrieveFieldsExample/MainWindow.xaml#L19
<dxpg:PivotGridControl Name="pivotGridControl1" RowTreeMinWidth="170"
OlapDataProvider="Adomd"
OlapConnectionString="{Binding ConnectionString, Source={StaticResource PivotOlapDataSource}}" />
See Also