EsbGetMemberInfo

Description

EsbGetMemberInfo() gets a structure containing information about a specific member in the active database outline.

Syntax
EsbGetMemberInfo (hCtx, MbrName, MbrInfo)
ByVal hCtx    As Long
ByVal MbrName As String
      MbrInfo As ESB_MEMBERINFO_T 

Parameters

hCtxEssbase VB API context handle.
MbrNameMember name.
MbrInfoBuffer to receive a member information structure.

Return Value

If successful, this function returns a member information structure in pMbrInfo. If the member has no parent, this function returns an empty string in the ParentMbrName field of the ESB_MEMBERINFO_T structure.

Notes

Attributes:

Access

This function requires the caller to have access to the database, and to have selected it as their active database using EsbSetActive().

Example

Declare Function EsbGetMemberInfo Lib "ESBAPIW" (ByVal hCtx As Long,
                                                 ByVal MbrName As String,
                                                       MbrInfo As ESB_MEMBERINFO_T) As Long

Sub ESB_GetMemberInfo ()
   Dim sts As Long
   Dim MbrName As String 
   Dim MbrInfo As ESB_MEMBERINFO_T

   MbrName = "Year"
   '**************************
   ' Get Member Info structure
   '**************************
   sts = EsbGetMemberInfo (hCtx, MbrName, MbrInfo) 
End Sub 

See Also

EsbCheckMemberName()
EsbGetMemberCalc()
EsbQueryDatabaseMembers()
EsbSetActive()