Answer the question
In order to leave comments, you need to log in
How to get an instance of a cube class that is already deployed on the server?
There is an unfolded cube. The task to receive to what roles what measures are attached. You can connect to the cube through Microsoft.AnalysisServices.AdomdClient, but there are no roles anywhere. I saw the roles in the example , but a different class is used there. Is there any way to get an instance of the current cube in the form of the Microsoft.AnalysisServices.CubeCollection class? CubeCollection in AnalysisServices namespace not converting from AdomdClient namespace
Answer the question
In order to leave comments, you need to log in
I finally found it, and because there is another signer, I will answer
using Microsoft.AnalysisServices;
using Microsoft.AnalysisServices.Hosting;
Server OLAPServer = new Server();
OLAPServer.Connect(olapConnection);
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question