The OLAP for ArcGIS add-on implements an ArcObjects plug-in data source. You can access the plug-in as described in the ArcObjects Developer Help (Chapter 7: Customizing the GeodatabaseOther Plug-In Data Source Topics):
Code
Public Sub AddPlugInLayer()
Dim pFeatWorkspace As IFeatureWorkspace
Dim pTable As ITable
Dim pWorkspaceFactory As IWorkspaceFactory
Set pWorkspaceFactory = CreateObject("esriGeoDatabase.ODBOWorkspaceFactory")
Set pFeatWorkspace = pWorkspaceFactory.OpenFromFile("C:\Documents and Settings\%UserName%\Application Data\Esri\ArcCatalog\OLE DB for OLAP\Analysis_Services", 0)
Set pTable = pFeatWorkspace.OpenTable("Sample")
End Sub
A few notes: The add-on stores connection and Multidimensional Expressions language (MDX) queries in the user's Application Data directory (e.g., C:\Documents and Settings/‹User Name›\Application Data\Esri\ArcCatalog\OLE DB for OLAP\‹OLAPConnection›). The OLAPConnection variable in the previous path expression does not exist. It is simply used to indicate a folder that has the same name as displayed for this particular OLAP connection in ArcCatalog. Specify this folder as the workspace string when calling IWorkspaceFactory.OpenFromFile().
For each OLAP table defined for this OLAP connection, there will be an *.ods file in this folder. Specify the name of this file (without the *.ods extension) when calling IFeatureWorkspace.OpenTable().