HypDisconnectEx
Cloud data provider types: Oracle Analytics Cloud - 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
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