Data provider types: Essbase, Planning, Financial Management, Hyperion Enterprise
HypDisconnectEx disconnects the specified connection. This connection need not be associated as in HypDisconnect.
HypDisconnectEx (vtFriendlyName )
ByVal vtFriendlyName as Variant
vtFriendlyName: The friendly connection name to be disconnected
Returns 0 if successful; otherwise, returns the appropriate error code.
Declare Function HypDisconnectEx Lib "HsAddin" (ByVal vtFriendlyName As Variant) As Long Sub Example_HypDisconnectEx() Dim lRet As Long lRet = HypDisconnectEx("My Sample") End Sub