GetMemberListID

Returns the numeric ID of a member list.

Syntax

<IHsvTreeInfo>.GetMemberListID bstrListName, plListID

Argument

Description

bstrListName

String (ByVal). The name of the member list.

plListID

Long. Returns the ID of the member list specified in the bstrListName argument.

Example

This example gets the ID of a member list named First Quarter. The Dimension property sets an IHsvTreeInfo object reference for the Period dimension, and GetListIDFromName assigns the ID of the member list named First Quarter to the lID variable.

Dim cIHsvTreeInfo As IHsvTreeInfo, lID As Long
Set cIHsvTreeInfo = m_cMetadata.Dimension(DIMENSIONPERIOD)
cIHsvTreeInfo.GetMemberListID "FirstQuarter", lID