I have an Excel .odc file which defines an OLEDB connection like so:
Provider=MSOLAP.5;
Integrated Security=SSPI;
Persist Security Info=True;
User ID="";
Initial Catalog="";
Data Source=xxx.xxx.com\tabular;
Location=xxx.xxx.com\tabular;
MDX Compatibility=1;
Safety Options=2;
MDX Missing Member Mode=Error
Is it possible for me to open the database using SqlConnection in C# using this?