Establish the connection for an SSAS Server
1 Nov 2019 / 1 minute to read
A valid string is required to establish connection for an OlapDataManager.
Here is the code snippet that demonstrates how to connect SSAS by using connection string:
OlapDataManager dataManager = new OlapDataManager("DataSource=localhost; Initial Catalog=Adventure Works DW");
Dim dataManager As New OlapDataManager("DataSource=localhost; Initial Catalog=Adventure Works DW")
Syncfusion.Olap.DataProvider.IDataProvider dataProvider = new Syncfusion.Olap.DataProvider.AdomdDataProvider("DataSource=localhost; Initial Catalog=Adventure Works DW");
OlapDataManager dataManager = new OlapDataManager(dataProvider);
Dim dataProvider As Syncfusion.Olap.DataProvider.IDataProvider = New Syncfusion.Olap.DataProvider.AdomdDataProvider("DataSource=localhost; Initial Catalog=Adventure Works DW")
Dim dataManager As New OlapDataManager(dataProvider)
Was this page helpful?
Yes
No
Thank you for your feedback!
Thank you for your feedback and comments. We will rectify this as soon as possible!
An unknown error has occurred. Please try again.
Help us improve this page