user1077685
user1077685

Reputation:

Microsoft.AnalysisServices.AdomdClient namespace missing Server class?

I've added a reference to Microsoft.AnalysisServices.AdomdClient to my C# project in hopes that I can automate some OLAP Cube processing. All of the example code to instantiate a server connection looks something like this:

using Microsoft.AnalysisServices.AdomdClient;

Server OLAPServer = new Server();

But if I use the above code, I receive the following error:

Cannot resolve the symbol Server

What is the issue? Below is the reference that I've added.

enter image description here

Upvotes: 2

Views: 3143

Answers (1)

dee-see
dee-see

Reputation: 24078

Server is in the Microsoft.AnalysisServices namespace, in Microsoft.AnalysisServices.dll

This DLL is located in

C:\Program Files (x86)\Microsoft SQL Server\%VERSION%\SDK\Assemblies\Microsoft.AnalysisServices.dll

Upvotes: 3

Related Questions