Partager via


GetSearchClauseFactory Method

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

Creates a new search clause builder for PromoCodeDefinition objects.

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

Syntax

'Declaration
Public Function GetSearchClauseFactory As SearchClauseFactory
'Usage
Dim instance As PromoCodeDefinitionManager
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 SearchClauseFactory object.

Remarks

Creates a new SearchClauseFactory object for objects of PromoCodeDefinition type.

The returned SearchClauseFactory allows you to filter sub-system searches.

Permissions

See Also

Reference

PromoCodeDefinitionManager Class

PromoCodeDefinitionManager Members

Microsoft.CommerceServer.Marketing Namespace