Data provider types: Essbase, Planning, Financial Management, Hyperion Enterprise
HypConnectionExists() checks whether a particular connection name exists in the list of all connections as viewed in the Smart View Panel. The particular connection may or may not be active (connected).
HypConnectionExists(vtFriendlyName)
ByVal vtFriendlyName As Variant
vtFriendlyName: The name of the connection to search for in the list of all connections. It is not case-sensitive.
Boolean. If successful, return value is TRUE; otherwise, return value is FALSE.
Declare Function HypConnectionExists Lib "HsAddin" (ByVal vtFriendlyName As Variant) As Variant Sub Example_HypConnectionExists Dim bIsConnection as Boolean bIsConnection = HypConnectionExists ("Demo_Basic") End sub