HypResetFriendlyName

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

Description

HypResetFriendlyName resets the friendly name to the new friendly name if the new name does not exist. To modify friendly name of a connection in the Smart View Panel, Smart View must be connected to Oracle Hyperion Provider Services.

Syntax

HypResetFriendlyName (vtOldFriendlyName, vtNewFriendlyName)

By Val vtOldFriendlyName as Variant

By Val vtNewFriendlyName as Variant

Parameters

vtOldFriendlyName: The old friendly connection name.

vtNewFriendlyName: The new friendly connection name.

Return Value

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

Example

Declare Function HypResetFriendlyName Lib "HsAddin" (ByVal vtOldFriendlyName As Variant, ByVal vtNewFriendlyName As Variant) As Long

Sub SubHypResetFriendlyNameTest()
		Dim lRet As Long
		lRet = HypResetFriendlyName("server2_Sample_Basic", "My Sample Basic")
End Sub