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
- totalRecords
Type: System..::.Int32%
The total number of records to return.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.