Click or drag to resize
RuleHelperGetDataFromCondition Method
Returns data row container initialized with data from rule condition if the table definition contains column named as rule item name. If there is no column named as rule item name then empty data row container is returned.

Namespace: CMS.ContactManagement
Assembly: CMS.ContactManagement (in CMS.ContactManagement.dll) Version: 12.0.0
Syntax
C#
public static IDataContainer GetDataFromCondition(
	RuleInfo rule,
	DataTable table,
	ref string activityTypeName
)

Parameters

rule
Type: CMS.ContactManagementRuleInfo
RuleInfo object
table
Type: System.DataDataTable
Table definition
activityTypeName
Type: SystemString
Activity type name is returned via this parameter if it is activity rule

Return Value

Type: IDataContainer
See Also