OwnerAddInProgID (OlapTreeNode)

Analysis Services Programming

Analysis Services Programming

OwnerAddInProgID (OlapTreeNode)

The OwnerAddInProgID property of an OlapTreeNode object contains the program ID of the add-in that owns the tree node.

Data Type

String

Access

Read/write

Remarks

This property is set automatically by the Microsoft OLAP Services Add-ins Manager library. The program ID is set in the registry when the add-in is registered, and it consists of the program name of the add-in and the name of the class used to instantiate the add-in. For example, the Report Add-In example uses the following program ID:

ReportAddIn.ReportClass
Example

The following example prints the OwnerAddInProgID property in a message box:

Private Function IOlapAddIn_GetObject(LinkedNode As _
    DSSAddInsManager.OlapTreeNode) As Object
    
    On Error Resume Next
    
    If LinkedNode.Caption = "Samples Forms" Then
        MsgBox "OwnerAddInProgID is: " & LinkedNode.OwnerAddInProgId
    End If
    
End Function

See Also

OlapTreeNode