Share via


RemoveSpecificationSearchClause Method

NOTE: This API is now obsolete.

(Obsolete) Use the SpecificationSearch class instead with the CatalogContext specification search methods.

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

Syntax

'Declaration
<ObsoleteAttribute("Use the SpecificationSearch class instead the CatalogContext specification search methods.")> _
Public Function RemoveSpecificationSearchClause ( _
    ByRef searchHandle As String _
) As String
'Usage
Dim instance As ProductCatalog
Dim searchHandle As String
Dim returnValue As String

returnValue = instance.RemoveSpecificationSearchClause(searchHandle)
[ObsoleteAttribute("Use the SpecificationSearch class instead the CatalogContext specification search methods.")]
public string RemoveSpecificationSearchClause(
    ref string searchHandle
)
[ObsoleteAttribute(L"Use the SpecificationSearch class instead the CatalogContext specification search methods.")]
public:
String^ RemoveSpecificationSearchClause(
    String^% searchHandle
)
public function RemoveSpecificationSearchClause(
    searchHandle : String
) : String

Parameters

  • searchHandle
    Type: System..::.String%
    The specification search handle. May not be nullNothingnullptra null reference (Nothing in Visual Basic).

Return Value

Type: System..::.String
Returns a String that contains the removed clause.

Remarks

This method always removes the last constraint that was added to the search by using the AddSpecificationSearchClause method. The returned string will be in the same form as the original constraint.

Permissions

See Also

Reference

ProductCatalog Class

ProductCatalog Members

Microsoft.CommerceServer.Catalog Namespace