Name (IOlapAddIn Interface)

Analysis Services Programming

Analysis Services Programming

Name (IOlapAddIn Interface)

The Name property of the IOlapAddIn interface returns the name of your add-in to the calling program. The value of this property is used to identify the program that provides objects to the Microsoft OLAP Services Add-Ins Manager library.

Data Type

String

Example

The following example returns the name of the custom add-in:

Private ThisAddInName = "MySampleAddIn"
'More code

Private Property Get IOlapAddIn_Name() As String
  On Error Resume Next 'Defer errors
  IOlapAddIn_Name = ThisAddInName
  Err.Clear 'Clears errors if any occurred
End Property