Jaa


GuaranteedSearch Method (Int32)

Use this method to perform a specification search guaranteed to return results if any products exist in the category being searched, along with the total number of records in the search.

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

Syntax

'Declaration
Public Function GuaranteedSearch ( _
    <OutAttribute> ByRef totalRecords As Integer _
) As CatalogItemsDataSet
'Usage
Dim instance As SpecificationSearch
Dim totalRecords As Integer
Dim returnValue As CatalogItemsDataSet

returnValue = instance.GuaranteedSearch(totalRecords)
public CatalogItemsDataSet GuaranteedSearch(
    out int totalRecords
)
public:
CatalogItemsDataSet^ GuaranteedSearch(
    [OutAttribute] int% totalRecords
)
public function GuaranteedSearch(
    totalRecords : int
) : CatalogItemsDataSet

Parameters

Return Value

Type: Microsoft.CommerceServer.Catalog..::.CatalogItemsDataSet
A CatalogItemsDataSet with a single DataTable containing the search results.

Remarks

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

Permissions

See Also

Reference

SpecificationSearch Class

SpecificationSearch Members

GuaranteedSearch Overload

Microsoft.CommerceServer.Catalog Namespace