共用方式為


PidTagRuleId Canonical Property

Applies to: Office 2010 | Outlook 2010 | Visual Studio

Specifies a unique identifier the messaging server generates for each rule when the rule is first created.

Associated properties:

PR_RULE_ID

Identifier:

0x6674

Data type:

PT_I8

Area:

Server Side Rules

Remarks

The client must not specify this property when creating a new rule but must specify it when modifying or deleting a rule.

When deleting a rule, the only property the client must pass is PR_RULE_ID and should not pass in any other property. The server must ignore properties other than this property. When adding a rule, the client must not pass in PR_RULE_ID, it must pass in the PR_RULE_CONDITION (PidTagRuleCondition), PR_RULE_ACTIONS (PidTagRuleActions) and PR_RULE_PROVIDER (PidTagRuleProvider) properties. When modifying a rule, the client must pass in PR_RULE_ID and should pass in the rest of the properties that need to be modified.

Protocol Specifications

  • [MS-OXPROPS]
    Provides references to related Exchange Server protocol specifications.

  • [MS-OXORULE]
    Manipulates incoming e-mail messages on a server.

Header Files

  • Mapidefs.h
    Provides data type definitions.

  • Mapitags.h
    Contains definitions of properties listed as alternate names.

See Also

Reference

PidTagRuleCondition Canonical Property

PidTagRuleActions Canonical Property

PidTagRuleProvider Canonical Property

Concepts

MAPI Properties

MAPI Canonical Properties

Mapping Canonical Property Names to MAPI Names

Mapping MAPI Names to Canonical Property Names