EsbSetAlias

Description

EsbSetAlias() sets the active alias table in the active database for a user.

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

Parameters

hCtxEssbase VB API context handle.
AltNameName of alias table to set active.

Return Value

None.

Example

Declare Function EsbSetAlias Lib "ESBAPIW" (ByVal hCtx As Long, ByVal Name As String) As LongSub ESB_SetAlias ()
   Dim sts As Long
   Dim pName As String pName = "TestAlias"
   '**********
   ' Set Alias
   '**********
   sts = EsbSetAlias (hCtx, pName)
End Sub

See Also

EsbGetAlias()
EsbListAliases()