AddSearchClause Method
Use this method to add a search clause to a specification search.
Namespace: Microsoft.CommerceServer.Catalog
Assembly: Microsoft.CommerceServer.Catalog (in Microsoft.CommerceServer.Catalog.dll)
Syntax
'Declaration
Public Sub AddSearchClause ( _
clauseToAdd As String _
)
'Usage
Dim instance As SpecificationSearch
Dim clauseToAdd As String
instance.AddSearchClause(clauseToAdd)
public void AddSearchClause(
string clauseToAdd
)
public:
void AddSearchClause(
String^ clauseToAdd
)
public function AddSearchClause(
clauseToAdd : String
)
Parameters
- clauseToAdd
Type: System..::.String
The TSQL Where clause to add. May not be nullNothingnullptra null reference (Nothing in Visual Basic).
Remarks
Adds the clauseToAdd to the Search clause of the specificationsearch. Adds constraings to a specification search of this catalog.
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.