A site container is used to gain access to sites and to objects that exist within a site hierarchy. The site container is analogous to the Sites window in the SMS Administrator. Thus, a site container contains, at the topmost level, site folders. Site folders themselves can contain other folders such as domain folders and site folders. Using this container, your application can access the sites, subsites, domains, machines, and the detailed inventory of each machine in a site hierarchy.
Using a site filter, your application can specify the site folders that will appear at the top level of the container. Note that the SMS Administrator allows only a hierarchical view starting from the current site (the site that is using the current database as its site database).
A site container has the following properties:
Property | Value | Description |
---|---|---|
Tag | "Site container" | String. A description of the container type. |
Container type | C_SITE | Integer. Container type. |
Applied filters | SITE_FILTER | Integer. Filters that can be applied to a site container. These filters act upon objects at either the site container or folder level, depending on the type of filter. |
Active filters | SITE_FILTER | Integer. Filters that are directly activated on the container. These filter types are used to retrieve the top-level folders in the container. |
Immediate subfolders | F_SITE | Integer. Type of folder that the container contains at the top level. Note that the top-level folders may have their own hierarchy of subfolders. |