HypDisconnectEx
Describes the Oracle Smart View for Office VBA function, HypDisconnectEx.
Data provider types: Oracle Essbase, Planning, Planning Modules, Financial Consolidation and Close, Tax Reporting
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