# EsbOtlDeleteDTSMemberAlias

Description

EsbOtlDeleteDTSMemberAlias() deletes an alias name for a DTS member.

Syntax

    EsbOtlDeleteDTSMemberAlias (hOutline, pszDTSMember, pszAliasTable)

    ByVal hOutline      As Long
    ByVal pszDTSMember  As String
    ByVal pszAliasTable As String

Parameters

hOutline | Esbbase outline handle returned from the EsbOtlOpenOutlineQuery call.
pszDTSMember | Name of the DTS member which provides the alias.
pzsAliasTable | Name of the alias table which provides the alias. If NULL, use the default alias table.

Return Value

If successful the return value is zero. Otherwise, one of the following is returned:

OTLAPI_ERR_DTSMBRNOTDEFINED
OTLAPI_BAD_ALIASTABLE
OTLAPI_ERR_NOALIAS

Notes

This function only clears the alias name. It does not disable the DTS member (see EsbOtlEnableDTSMember).

Example

    Public Sub ESB_OtlDeleteDTSMemberAlias()

       Dim DTSMember As String * ESB_MBRNAMELEN
       Dim AliasTable As String * ESB_ALIASNAMELEN

       DTSMember = "H-T-D"
       AliasTable = "default"

       sts = EsbOtlDeleteDTSMemberAlias(hOutline, _
                                        DTSMember, AliasTable)

    End Sub

See Also

EsbOtlEnableDTSMember()
EsbOtlGetEnabledDTSMembers()
EsbOtlGetDTSMemberAlias()
EsbOtlSetDTSMemberAlias()