HypRemoveConnection

Data provider types: Essbase, Planning, Financial Management, Hyperion Enterprise

Description

HypRemoveConnection() removes the specified connection from the list of available Smart View connections in the Smart View Panel.

Syntax

HypRemoveConnection(vtFriendlyName)

ByVal vtFriendlyName As Variant

Parameters

vtFriendlyName: The friendly connection name of the data provider

Return Value

Returns 0 if successful, otherwise, returns the appropriate error code.

Example

Declare Function HypRemoveConnection Lib "HsAddin" (ByVal vtFriendlyName As Variant) As Long

Sub Example_HypRemoveConnection()
   X=HypRemoveConnection("My Connection")
End Sub