General Steps for Using the SMS API to Manage SMS Objects

Except for queries (which are represented as persistent filters in a filter container), you manage all objects in an SMS site database in the same manner, using the same set of functions.

The following procedures describe the general steps for reading the properties of existing objects, creating new objects, and deleting objects. These procedures apply to the following types of objects:

For information about managing queries using the SMS API, see General Steps for Using the SMS API to Manage Queries.

    To create an application that uses the SMS API to manage objects in a site database
  1. Include the header file.
  2. Connect to the site database.
  3. Open a container.
  4. Set a filter.
  5. Fill the container.
  6. Access folder contents.
  7. Create a new folder.
  8. Delete a folder.
  9. Close filters, folders, and containers.
  10. Disconnect from the site database.