Data source types: Essbase, Planning, Financial Management, Hyperion Enterprise
HypRemoveConnection() removes the specified connection from the list of all available Smart View connections in the Smart View Panel.
HypRemoveConnection(vtFriendlyName)
ByVal vtFriendlyName As Variant
vtFriendlyName: The friendly connection name for the data source provider
Returns 0 if successful, otherwise, returns the appropriate error code.
Declare Function HypRemoveConnection Lib "HsAddin" (ByVal vtFriendlyName As Variant) As Long
Sub RConn()
X=HypRemoveConnection("My Connection")
End Sub