HypRemoveConnection

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

Description

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

Syntax

HypRemoveConnection(vtFriendlyName)

ByVal vtFriendlyName As Variant

Parameters

vtFriendlyName: The friendly connection name for the data source 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 RConn()
   X=HypRemoveConnection("My Connection")
End Sub