OwnerAddInName

The OwnerAddInName property of an OlapMenuItem object contains the name of the add-in program that owns the item.

Data Type
String
Remarks

This property is set automatically by the OLAP Add-In Manager. You can use this property to identify the items your program owns and the programs that own other items.

Example

Private Function IOlapAddIn_ExecuteMenuItem( _

    CurrentNode As DSSAddInsManager.OlapTreeNode, _

    MenuItem As DSSAddInsManager.OlapMenuItem) _

    As DSSAddInsManager.RefreshTreeTypes

  On Error exit Function 'Handle errors

  If MenuItem.Caption = "&Special" Then

    MsgBox "OwnerAddInName is: " & MenuItem.OwnerAddInName

  End If

End Function

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