3.1.4.2.2 Adding, Modifying or Deleting Extended Rules

To add, modify, or delete an extended rule, a client adds, modifies, or deletes the FAI message representing that rule (2) respectively. The client uses standard message operations, as specified in [MS-OXCMSG] section 3.1.4.

When adding an extended rule, the client MUST set values for the PidTagRuleMessageName (section 2.2.4.1.1), PidTagRuleMessageProvider (section 2.2.4.1.7), PidTagExtendedRuleMessageCondition, (section 2.2.4.1.10), and PidTagExtendedRuleMessageActions (section 2.2.4.1.9) properties for each rule (2) on the FAI message representing that rule (2). The client MAY set values for the PidTagRuleMessageUserFlags (section 2.2.4.1.5) and PidTagRuleMessageProviderData ([MS-OXPROPS] section 2.956) properties for storing additional data. The client SHOULD set values for the other properties on the FAI message, as specified in section 2.2.4.1.

When modifying an extended rule, the client MUST send values for properties that are to be changed, as specified in section 2.2.4.1.

When deleting an extended rule, the client MUST delete the FAI message representing that rule (2).