HypRemoveConnection

Describes the Oracle Smart View for Office VBA function, HypRemoveConnection.

Cloud data provider types: Oracle Essbase, Planning, Planning Modules, Financial Consolidation and Close, Tax Reporting

On-premises data provider types: Oracle Essbase, Oracle Hyperion Planning, Oracle Hyperion Financial Management

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