GroupBuilderTrackingStatusVariable class
Revision as of 06:21, 10 July 2017 by Nguyenduyan (talk | contribs)
GroupBuilderTrackingStatusVariable
Represents a group builder variable for tracking status.
Constructors
- () - Create new variable
Methods
- string ToString() - The string representation of the object.
Properties
- bool Include { get; set; } - Include users that match rule, or exclude
- bool IncludeStarted { get; set; } - Include those that are started in the result, even though tracking amount is zero
- int MaxTrackings { get; set; } - Respondents that have read or shared the email atmost x times
- int MinTrackings { get; set; } - Respondents that have read or shared the email atleast x times
- string ObjectTypeName { get; } - The name of the type of object.
- int QuestionnaireResourceId { get; set; } - Questionnaire to get users from
- TypeInformation TypeInformation { get; } - Get information about this class.
Examples
GroupBuilderRoot root = new GroupBuilderRoot (15569488);
GroupBuilderTrackingStatusVariable trackingStatusVariable = new GroupBuilderTrackingStatusVariable();
trackingStatusVariable.QuestionnaireResourceId = 15569630;
trackingStatusVariable.MinTrackings =1;
trackingStatusVariable.MaxTrackings =1000;
trackingStatusVariable.IncludeStarted=true;
GroupBuilderRule rule = new GroupBuilderRule (root);
rule.Add(trackingStatusVariable);
GroupBuilderRuleCollection ruleColection = root.RootRules;
ruleColection.Add(rule);
root.Save();