Previous Topic: Searches

Next Topic: Set Search Parameters After Creating the Search Object

Set Search Parameters When Creating the Search Object

To specify a search parameter when you create a search object, pass one or more search parameter names to the constructor of the SmDmsSearch class.

There are some search parameters that you cannot specify during creation of the search object—for example, scope. The constructor for the SmDmsSearch class accepts only the following search parameters:

You can create an SmDmsSearch object without passing any search parameters to the constructor.