Back to Devexpress

PivotGridControl.OlapDataProvider Property

wpf-devexpress-dot-xpf-dot-pivotgrid-dot-pivotgridcontrol-d4eb9317.md

latest3.0 KB
Original Source

PivotGridControl.OlapDataProvider Property

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

Declaration

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

Property Value

TypeDescription
OlapDataProvider

An OlapDataProvider enumeration member that specifies which data provider should be used to bind to an OLAP cube.

|

Available values:

NameDescription
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.

|

Remarks

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

xml
<dxpg:PivotGridControl Name="pivotGridControl1" RowTreeMinWidth="170"
                       OlapDataProvider="Adomd"
                       OlapConnectionString="{Binding ConnectionString, Source={StaticResource PivotOlapDataSource}}" />

See Also

PivotGridControl Class

PivotGridControl Members

DevExpress.Xpf.PivotGrid Namespace