UnionClauses Method
Unions the result of two SearchClause objects.
Namespace: Microsoft.CommerceServer
Assembly: Microsoft.CommerceServer.CrossTierTypes (in Microsoft.CommerceServer.CrossTierTypes.dll)
Syntax
'Declaration
Public Overridable Function UnionClauses ( _
leftHandSide As SearchClause, _
rightHandSide As SearchClause _
) As SearchClause
'Usage
Dim instance As SearchClauseFactory
Dim leftHandSide As SearchClause
Dim rightHandSide As SearchClause
Dim returnValue As SearchClause
returnValue = instance.UnionClauses(leftHandSide, _
rightHandSide)
public virtual SearchClause UnionClauses(
SearchClause leftHandSide,
SearchClause rightHandSide
)
public:
virtual SearchClause^ UnionClauses(
SearchClause^ leftHandSide,
SearchClause^ rightHandSide
)
public function UnionClauses(
leftHandSide : SearchClause,
rightHandSide : SearchClause
) : SearchClause
Parameters
- leftHandSide
Type: Microsoft.CommerceServer..::.SearchClause
First clause to join.
- rightHandSide
Type: Microsoft.CommerceServer..::.SearchClause
Second clause to join.
Return Value
Type: Microsoft.CommerceServer..::.SearchClause
A new SearchClause object representing the union of the two clauses.
Remarks
Use this method to create an 'or'-style join of two clauses. The UnionClauses computes the union of the two clauses. The union of the two clauses give you a search clause that contains a filter that provides a result set that includes all of the queries that satisfy either search.
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.