Building Add-in Programs

To create a custom add-in program, add OLAP Add-In Manager to the available references for your Microsoft® Visual Basic® project. The OLAP Add-In Manager library contains the classes, objects, methods, properties, enumerations, and collections you can use in your program. For more information, see Creating a Sample Add-in Program and Programmer’s Reference - Add-in Programs.

Microsoft SQL Server™ OLAP Services Decision Support Objects (DSO) can also be used in a custom add-in program. To use DSO in an add-in program, add Microsoft Decision Support Objects to the available references for your project. For more information, see Using Decision Support Objects.

Microsoft Management Console (MMC) is used by OLAP Services and other components and programs to offer a consistent user interface. OLAP Services provides a snap-in program, the OLAP Manager, that operates within MMC and calls the OLAP Add-In Manager, which in turn calls registered add-in programs. The OLAP Manager’s user interface is implemented as an add-in program and is called by the OLAP Add-In Manager in the same way as your custom add-in program will be called.

Your add-in program can add nodes to the structure in the tree view as the user selects or expands a node and can augment node menus with items that will cause your program to be called when those items are selected.

Your custom add-in program is called by the OLAP Add-In Manager as it displays the objects in the user interface and in response to user activity. Your program must implement the required IOlapAddIn interface as specified in this section, or the OLAP Manager may fail to operate as designed.

To create an OLAP Services add-in program you must:

(c) 1988-1998 Microsoft Corporation. All Rights Reserved.