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
ParameterDescription

hCtx

VB API context handle.

AltName

Name of alias table to set active.

Return Value

None.

Example

Declare Function EsbSetAlias Lib "ESBAPIN" (ByVal hCtx As Long, ByVal Name As String) As Long

Sub ESB_SetAlias ()
   Dim sts As Long
   Dim pName As String pName = "TestAlias"
   '**********
   ' Set Alias
   '**********
   sts = EsbSetAlias (hCtx, pName)
End Sub

See Also