Partilhar via


Configuration Manager Search Folder XML

Applies To: System Center Configuration Manager 2007, System Center Configuration Manager 2007 R2, System Center Configuration Manager 2007 R3, System Center Configuration Manager 2007 SP1, System Center Configuration Manager 2007 SP2

A Configuration Manager 2007 console search folder is described by XML. When creating a search folder, you populate the SMS_ObjectContainerNode object SearchString property with the search folder XML.

Search Folder XML

<SearchFolderDescription>

    <SearchFolderDescriptionItems>

        <SearchFolderDescriptionItem>

                <SearchStrings>

                        <String></strings>

                </SearchStrings>

    </SearchFolderDescriptionItems>

</SearchFolderDescription>

Remarks

The SearchFolderDescription node defines one or more searches against instances of a class, or type, of SMS Provider objects. The object class type that is searched is declared in the SearchFolderDescription node Name attribute. The child SearchFolderDescriptionItems node declares one or more SearchFolderDescriptionItem nodes. Each SearchFolderDecriptionItem node defines a search against a specific property of the SMS Provider class. Within each SearchFolderItemDescriptionItem is a SearchString node containing a list of String elements that are compared with the value of an object property.

Note

If you are using the managed provider console classes, you can use SearchFolderDescription class.

See Also

Concepts

About Configuration Manager Console Folders
How to Create a Configuration Manager Console Search Folder
SearchFolderDescription
SearchFolderDescriptionItems
SearchFolderDescriptionItem
SearchStrings
SMS_ObjectContainerNode Server WMI Class
String