Click or drag to resize
RuleInfoProviderLoadRulesByRuleParameter Method
Returns RuleInfo objects based on item name (attribute or activity name).

Namespace: CMS.OnlineMarketing
Assembly: CMS.OnlineMarketing (in CMS.OnlineMarketing.dll) Version: 9.0.0
Syntax
C#
public static ObjectQuery<RuleInfo> LoadRulesByRuleParameter(
	string ruleParameter,
	RuleTypeEnum ruleType,
	int siteId
)

Parameters

ruleParameter
Type: SystemString
Item name
ruleType
Type: CMS.OnlineMarketingRuleTypeEnum
Item type - attribute or activity
siteId
Type: SystemInt32
Site ID

Return Value

Type: ObjectQueryRuleInfo
See Also