다음을 통해 공유


GuaranteedSearch Method

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

Use this method to perform a specification search guaranteed to return results if any products exist in the category being searched.

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

Syntax

'Declaration
Public Function GuaranteedSearch As CatalogItemsDataSet
'Usage
Dim instance As SpecificationSearch
Dim returnValue As CatalogItemsDataSet

returnValue = instance.GuaranteedSearch()
public CatalogItemsDataSet GuaranteedSearch()
public:
CatalogItemsDataSet^ GuaranteedSearch()
public function GuaranteedSearch() : CatalogItemsDataSet

Return Value

Type: Microsoft.CommerceServer.Catalog..::.CatalogItemsDataSet
Search and remove clauses until at least 1 result is returned.

Remarks

The GuaranteedSpecificationSearch method removes search clauses from the search mechanism one at a time until some results are returned. Supports inventory integration.

Permissions

See Also

Reference

SpecificationSearch Class

SpecificationSearch Members

GuaranteedSearch Overload

Microsoft.CommerceServer.Catalog Namespace