Partilhar via


SearchOptions Property

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

Gets or sets the search options used for the catalog configuration search.

Namespace:  Microsoft.CommerceServer.Catalog
Assembly:  Microsoft.CommerceServer.Catalog (in Microsoft.CommerceServer.Catalog.dll)

Syntax

'Declaration
Public Property SearchOptions As CatalogSearchOptions
'Usage
Dim instance As CollectionConfiguration
Dim value As CatalogSearchOptions

value = instance.SearchOptions

instance.SearchOptions = value
public CatalogSearchOptions SearchOptions { get; set; }
public:
property CatalogSearchOptions^ SearchOptions {
    CatalogSearchOptions^ get ();
    void set (CatalogSearchOptions^ value);
}
public function get SearchOptions () : CatalogSearchOptions
public function set SearchOptions (value : CatalogSearchOptions)

Property Value

Type: Microsoft.CommerceServer.Catalog..::.CatalogSearchOptions
A CatalogSearchOptions containing the search options.

Remarks

Specify the search options. The search options allows for customized searches of the catalog configuration. You can use properties in the returned CatalogSearchOptions class to customize the search results. You should create an instance of the class, set the appropriate properties and pass it as a parameter to the Search method to apply the filter criteria.

The .NET Base Class Library allows you to specify the search options for most of the methods returning Datasets or ReadOnlyCollections, but not all the methods support all parameters.

Permissions

See Also

Reference

CollectionConfiguration Class

CollectionConfiguration Members

Microsoft.CommerceServer.Catalog Namespace