Container Functions

The container functions enable an application to open a container, apply a filter to a container, populate a container with folders, rewind folders in a container, retrieve the number of folders in a container, and close a container.

SmsCloseContainer

SmsOpenContainer

SmsPopulate

SmsRewind

SmsSetFilter

An application can also call the SmsEnumContainers function to retrieve a list of all the types of containers supported by the SMS API.

SmsGetNextFolder enables an application to retrieve the top-level folders in a container by sequence. The sequence of folders within a container is determined by the order in which the SMS API engine retrieved the folders from the site database. Note that SmsGetFolderByID cannot be used to retrieve a top-level folder in a container.