EsbSetAlias() sets the active alias table in the active database for a user.
EsbSetAlias (hCtx, AltName)
ByVal hCtx As Long ByVal AltName As String
hCtx | Essbase VB API context handle. |
AltName | Name of alias table to set active. |
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 SubEsbGetAlias()