HypDisconnectEx

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

Description

HypDisconnectEx disconnects the specified connection. This connection need not be associated as in HypDisconnect.

Syntax

HypDisconnectEx (vtFriendlyName )

ByVal vtFriendlyName As Variant

Parameters

vtFriendlyName: The friendly connection name to be disconnected

Return Value

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

Example

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

Sub Example_HypDisconnectEx()
                Dim lRet As Long
                lRet = HypDisconnectEx("My Sample")
End Sub