Programmer's Reference (Add-ins)

Analysis Services Programming

Analysis Services Programming

Programmer's Reference (Add-ins)

The Microsoft OLAP Services Add-Ins Manager library, Msmdadin.dll, contains the classes, objects, methods, properties, enumerations, and collections you can use in your program.

Caution  It is important that your program use only those elements of the Microsoft OLAP Services Add-Ins Manager library that are documented here. The use of undocumented library elements that may be exposed in the Object Browser can cause indeterminate results and possible loss of data.

The Microsoft OLAP Services Add-Ins Manager library calls your custom add-in as it displays objects, such as tree nodes and menu items, in the Analysis Manager user interface, and in response to user activity with any object, including objects your custom add-in did not create, in Analysis Manager. Therefore, your custom add-in must implement the required IOlapAddIn interface, as specified in this section, or Analysis Manager may fail to operate as designed.

To create a custom add-in, add Microsoft OLAP Services Add-Ins Manager to the available references for your Microsoft® Visual Basic® project.

The following topics further detail the elements of the Microsoft OLAP Services Add-Ins Manager library.

Topic Description
Interfaces Discusses the IOlapAddIn interface, including its properties and methods
Objects Covers the OlapMenuItem and OlapTreeNode objects, including their properties
Enumerations Details several enumerations used by the rest of the library
Collections Provides information on the properties and methods of the OlapMenuItems and OlapTreeNodes collections