다음을 통해 공유


Search Method (Int32)

Perform a search using the information in the current instance and return the number of records found that match the search criteria.

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

Syntax

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

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

Parameters

Return Value

Type: Microsoft.CommerceServer.Catalog..::.CatalogItemsDataSet
A CatalogItemsDataSet containing the search results.

Remarks

Execute the search as it is described. Perform the search based on the SearchOptions and the properties set on the SpecificationSearch class and returns a CatalogItemsDataSet containing the search results.

Supports inventory integration.

Permissions

See Also

Reference

SpecificationSearch Class

SpecificationSearch Members

Search Overload

Microsoft.CommerceServer.Catalog Namespace