HypDisconnectEx

Data source types: Data source types: Essbase, Planning, Financial Management, Hyperion Enterprise

Description

HypDisconnectEx disconnects the connection with the the connection (friendly) name passed in the argument. The connection to be disconnected need not be associated as in HypDisconnect.

Syntax

HypDisconnectEx (vtConnFriendlyName)

ByVal vtConnFriendlyName as Variant

Parameters

vtConnFriendlyName: The friendly connection name

Return Value

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

Example

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

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