Connecting to OLAP database using c#

  • Thread starter Thread starter guy
  • Start date Start date
using (OleDbConection cn =
new OleDbConnection())

cn.ConnectionString =
"Provider=MSOLAP.1;User ID=SomePassword;Password=xxxxxxxxx;Data
Source=ServerName;Initial Catalog=YourCataolg";


Then just open the connection and do your thing...

HTH,

Bill
 
Back
Top