Share via


GetSearchClauseFactory Method

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

Creates a new non-validating SearchClauseFactory object that can be used to build search clauses for the profile system.

Namespace:  Microsoft.CommerceServer.Profiles
Assembly:  Microsoft.CommerceServer.Profiles.CrossTierTypes (in Microsoft.CommerceServer.Profiles.CrossTierTypes.dll)

Syntax

'Declaration
Public Function GetSearchClauseFactory As SearchClauseFactory
'Usage
Dim instance As ProfileManagementContext
Dim returnValue As SearchClauseFactory

returnValue = instance.GetSearchClauseFactory()
public SearchClauseFactory GetSearchClauseFactory()
public:
SearchClauseFactory^ GetSearchClauseFactory()
public function GetSearchClauseFactory() : SearchClauseFactory

Return Value

Type: Microsoft.CommerceServer..::.SearchClauseFactory
A new non-validating SearchClauseFactory object.

Remarks

The SearchClauseFactory constructed will not validate that the SearchClause objects created are valid. If the search clauses are not valid, an exception will be thrown when the SearchClause is passed to the ExecuteSearch method.

Permissions

See Also

Reference

ProfileManagementContext Class

ProfileManagementContext Members

GetSearchClauseFactory Overload

Microsoft.CommerceServer.Profiles Namespace