EsbRemoveAlias

Description

EsbRemoveAlias() permanently removes an alias table from the active database.

Syntax
EsbRemoveAlias (hCtx, AltName)
ByVal hCtx    As Long
ByVal AltName As String

Parameters

hCtxEssbase VB API context handle.
AltNameName of an alias table to remove.

Return Value

None.

Notes

Access

This function requires the caller to have access to the database, and to have selected it as their active database using EsbSetActive().

Example

Declare Function EsbRemoveAlias Lib "ESBAPIW" (ByVal hCtx As Long, ByVal Name As String) As Long

Sub ESB_RemoveAlias ()
   Dim sts As Long
   Dim Name As String

   Name = "TestAlias"

   '*************
   ' Remove Alias
   '*************
   sts = EsbRemoveAlias (hCtx, Name)
End Sub

See Also

EsbClearAliases()
EsbListAliases()
EsbLoadAlias()
EsbListConnections()
EsbSetActive()