3.1.4.2.3.5 t:CreateRuleOperationType Complex Type

The CreateRuleOperationType complex type represents the operation to create a new Inbox rule (2). The CreateRuleOperationType complex type extends the RuleOperationType complex type, as specified in section 3.1.4.2.3.4.

 <xs:complexType name="CreateRuleOperationType">
   <xs:complexContent>
     <xs:extension
       base="t:RuleOperationType"
     >
       <xs:sequence>
         <xs:element name="Rule"
           type="t:RuleType"
           maxOccurs="1"
           minOccurs="1"
          />
       </xs:sequence>
     </xs:extension>
   </xs:complexContent>
 </xs:complexType>
  

The following table lists the child element of the CreateRuleOperationType complex type.

Element name

Type

Description

Rule

t:RuleType (section 2.2.4.5)

Represents the rule (2) to create.

The UpdateInboxRules operation can be used with the CreateRuleOperationType complex type to create a rule (2). When creating a rule (2), the RuleType complex type, as specified in section 2.2.4.5, MUST NOT have a RuleId element. The RuleId element of the RuleType complex type is generated when the rule (2) is successfully created in the server message store.