Jaa


GetSearchClauseFactory Method (DataSet, String)

Creates a new 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 ( _
    searchableEntities As DataSet, _
    entityName As String _
) As SearchClauseFactory
'Usage
Dim instance As ProfileManagementContext
Dim searchableEntities As DataSet
Dim entityName As String
Dim returnValue As SearchClauseFactory

returnValue = instance.GetSearchClauseFactory(searchableEntities, _
    entityName)
public SearchClauseFactory GetSearchClauseFactory(
    DataSet searchableEntities,
    string entityName
)
public:
SearchClauseFactory^ GetSearchClauseFactory(
    DataSet^ searchableEntities, 
    String^ entityName
)
public function GetSearchClauseFactory(
    searchableEntities : DataSet, 
    entityName : String
) : SearchClauseFactory

Parameters

Return Value

Type: Microsoft.CommerceServer..::.SearchClauseFactory
A validating SearchClauseFactory object.

Remarks

The SearchClauseFactory constructed will validate that SearchClause objects created are valid. If an attempt is made to create an invalid search clause, an exception will be raised from the SearchClauseFactory.

Permissions

See Also

Reference

ProfileManagementContext Class

ProfileManagementContext Members

GetSearchClauseFactory Overload

Microsoft.CommerceServer.Profiles Namespace