# EsbOtlGetEnabledDTSMembers

Description

EsbOtlGetEnabledDTSMembers() used to get the defined DTS members for the outline.

Syntax

    EsbOtlGetEnabledDTSMembers (hOutline, pusCount)

    ByVal hOutline As Long
          pusCount As Integer

Parameters

hOutline | Essbase outline handle returned from the EsbOtlOpenOutlineQuery() call.
pusCount | The number of defined DTS members.

Return Value

If successful the return value is zero. Otherwise it returns the status of the EsbOtlQueryMembers() call.

Notes

Upon successful call, a call to EsbGetNextItem must be called for each enabled DTS member determined by the value returned to Count.

Example

    Public Sub ESB_OtlGetEnabledDTSMembers()

       Dim Count As Integer
       Dim DTSMbr As String * ESB_MBRNAMELEN
       Dim i As Integer

       sts = EsbOtlGetEnabledDTSMembers(hOutline, Count)

       If sts = 0 Then
          For i = 1 To Count
             sts = EsbGetNextItem(hCtx, ESB_DTS_TYPE, ByVal DTSMbr)
             MsgBox "DTSMbr"
          Next i
       End If

    End Sub

See Also

EsbOtlDeleteDTSMemberAlias()
EsbOtlEnableDTSMember()
EsbOtlGetDTSMemberAlias()
EsbOtlSetDTSMemberAlias()