Retrieving a List from the List Manager

Use the getLIST method to retrieve an individual list from the list manager. This method looks for a copy of the list in the local list manager’s list repository. If the list is available, it returns the list object, otherwise it requests the list from the host before returning the list object. If the getLIST method returns an empty object (in VB terms the object is Nothing), the list name supplied was invalid, or the list was not present in the WDP on the host.

Dim List As Object
Set List = mvarListManager.getList(ListName)
If List.ListObject Is Nothing Then
      Msgbox ListName + "is an invalid list name"
End If