OnlineMarketingTransformationFunctionsSearchedForKeywords Method |
Returns true if the contact did search (internal or external) for specified keywords in last X days.
Namespace: CMS.OnlineMarketingAssembly: CMS.OnlineMarketing (in CMS.OnlineMarketing.dll) Version: 8.2.23
Syntax public static bool SearchedForKeywords(
Object contact,
string keywords,
int lastXDays,
bool allKeywords
)
Parameters
- contact
- Type: SystemObject
Contact the activities of which should be checked - keywords
- Type: SystemString
Keywords separated with comma or semicolon (if null or empty, than method returns true iff contact did any search in last X days) - lastXDays
- Type: SystemInt32
Constraint for last X days (if zero or negative value is given, no constraint is applied) - allKeywords
- Type: SystemBoolean
If true all keywords has to be matched, if false at least one match has to be found
Return Value
Type:
BooleanSee Also