Use this class to perform searches against product, variant, and category data in one or more catalogs.
System.Object
Microsoft.CommerceServer.Runtime.Catalog.CatalogSearch
Public Instance Constructor
Public Instance Methods
| Method | Description |
| Search(Int32) | Performs a search with the current properties and returns a limited number of records. |
| Search | Performs a search with the current properties. |
Public Instance Properties
| Property | Description |
| CatalogContext | Contains the CatalogContext object used for the search. |
| CatalogNames | Contains the catalog names used for the search. |
| CatalogNamesCollection | Contains a ReadOnlyCollection object containing catalog names used for the search. |
| CategoryName | Contains the category name used for the search. |
| FreeTextSearchPhrase | Contains the free-text search phrase used for the search. |
| Language | Contains the language used for the search. |
| Recursive | Indicates whether the search will be recursive. |
| SearchOptions | Contains the search options used for the search. |
| SQLWhereClause | Contains the SQL Where clause used for the search. |
Remarks
A CatalogSearch object can be used to perform different kinds of searches on different catalog entities such as:
- Search across multiple catalogs
- Search within a single catalog
- Search within a category in a catalog
It can also be used to perform various types of searches such as:
- Property search
- Free-text search
- Both property and free-text search
The different properties of the CatalogSearch object can be used to control the search domain, the type of search, language, sorting, paging, classTypes, and so forth.
Requirements
Namespace: Microsoft.CommerceServer.Runtime.Catalog
Platforms: Windows 2000, Windows Server 2003
Assembly: Microsoft.CommerceServer.Runtime.dll
Copyright © 2005 Microsoft Corporation.
All rights reserved.