다음을 통해 공유


AddSpecificationSearchClause 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 AddSpecificationSearchClause ( _
    clauseToAdd As String, _
    searchHandle As String _
) As String
'Usage
Dim instance As ProductCatalog
Dim clauseToAdd As String
Dim searchHandle As String
Dim returnValue As String

returnValue = instance.AddSpecificationSearchClause(clauseToAdd, _
    searchHandle)
[ObsoleteAttribute("Use the SpecificationSearch class instead the CatalogContext specification search methods.")]
public string AddSpecificationSearchClause(
    string clauseToAdd,
    string searchHandle
)
[ObsoleteAttribute(L"Use the SpecificationSearch class instead the CatalogContext specification search methods.")]
public:
String^ AddSpecificationSearchClause(
    String^ clauseToAdd, 
    String^ searchHandle
)
public function AddSpecificationSearchClause(
    clauseToAdd : String, 
    searchHandle : String
) : String

Parameters

  • clauseToAdd
    Type: System..::.String
    The TSQL Where clause to add. May not be nullNothingnullptra null reference (Nothing in Visual Basic).
  • searchHandle
    Type: System..::.String
    The existing specification search handle. May not be nullNothingnullptra null reference (Nothing in Visual Basic).

Return Value

Type: System..::.String
The updated specification search handle.

Remarks

Use this method to add a clause to a specification search handle and return the updated handle.

Permissions

See Also

Reference

ProductCatalog Class

ProductCatalog Members

Microsoft.CommerceServer.Catalog Namespace