Share via


ProductCatalog.PerformSpecificationSearch (String, SpecificationSearchPropertyResult[], CatalogSearchOptions) Method (BCL)

Use this method to perform a specification search and return the matching results. The updated property values are returned through the propertyValues parameter. The searchOptions parameter can be used to determine which class of catalog objects to return, the list of properties to return, and the number of records required.

Definition

[Visual Basic .NET]

Overridable Public Function PerformSpecificationSearch( _ByValsearchHandle As System.String, _
  ByRefpropertyValues As Microsoft.CommerceServer.Runtime.Catalog.SpecificationSearchPropertyResult[], _
  ByValsearchOptions As CatalogSearchOptions _
) As System.Data.DataSet

[C#]

public virtual System.Data.DataSet PerformSpecificationSearch(System.StringsearchHandle,
  out Microsoft.CommerceServer.Runtime.Catalog.SpecificationSearchPropertyResult[]propertyValues,
  CatalogSearchOptionssearchOptions);

Parameters

[Visual Basic .NET]

  • searchHandle
    The search handle. May not be null.
  • propertyValues
    An array of SpecificationSearchPropertyResult objects.
  • searchOptions
    The CatalogSearchOptions object specifying how results should be returned. May be null.

[C#]

  • searchHandle
    The search handle. May not be null.
  • propertyValues
    An array of SpecificationSearchPropertyResult objects.
  • searchOptions
    The CatalogSearchOptions object specifying how results should be returned. May be null.

Return Value

A DataSet with a single DataTable containing the search results.

Remarks

Throws a CatalogException on failure.

Throws an ArgumentNullException if the catalogContext parameter is null.

Requirements

Namespace: Microsoft.CommerceServer.Runtime.Catalog

Platforms: Windows 2000, Windows Server 2003

Assembly: Microsoft.CommerceServer.Runtime.dll

Copyright © 2005 Microsoft Corporation.
All rights reserved.