Class RulePredicates
- Namespace
- Microsoft.Exchange.WebServices.Data
- Assembly
- Microsoft.Exchange.WebServices.dll
Represents the set of conditions and exceptions available for a rule.
public sealed class RulePredicates : ComplexProperty
- Inheritance
-
RulePredicates
- Inherited Members
Properties
Categories
Gets the categories that an incoming message should be stamped with for the condition or exception to apply. To disable this predicate, empty the list.
public StringList Categories { get; }
Property Value
ContainsBodyStrings
Gets the strings that should appear in the body of incoming messages for the condition or exception to apply. To disable this predicate, empty the list.
public StringList ContainsBodyStrings { get; }
Property Value
ContainsHeaderStrings
Gets the strings that should appear in the headers of incoming messages for the condition or exception to apply. To disable this predicate, empty the list.
public StringList ContainsHeaderStrings { get; }
Property Value
ContainsRecipientStrings
Gets the strings that should appear in either the To or Cc fields of incoming messages for the condition or exception to apply. To disable this predicate, empty the list.
public StringList ContainsRecipientStrings { get; }
Property Value
ContainsSenderStrings
Gets the strings that should appear in the From field of incoming messages for the condition or exception to apply. To disable this predicate, empty the list.
public StringList ContainsSenderStrings { get; }
Property Value
ContainsSubjectOrBodyStrings
Gets the strings that should appear in either the body or the subject of incoming messages for the condition or exception to apply. To disable this predicate, empty the list.
public StringList ContainsSubjectOrBodyStrings { get; }
Property Value
ContainsSubjectStrings
Gets the strings that should appear in the subject of incoming messages for the condition or exception to apply. To disable this predicate, empty the list.
public StringList ContainsSubjectStrings { get; }
Property Value
FlaggedForAction
Gets or sets the flag for action value that should appear on incoming messages for the condition or execption to apply. To disable this predicate, set it to null.
public FlaggedForAction? FlaggedForAction { get; set; }
Property Value
FromAddresses
Gets the e-mail addresses of the senders of incoming messages for the condition or exception to apply. To disable this predicate, empty the list.
public EmailAddressCollection FromAddresses { get; }
Property Value
FromConnectedAccounts
Gets the e-mail account names from which incoming messages must have been aggregated for the condition or exception to apply. To disable this predicate, empty the list.
public StringList FromConnectedAccounts { get; }
Property Value
HasAttachments
Gets or sets a value indicating whether incoming messages must have attachments for the condition or exception to apply.
public bool HasAttachments { get; set; }
Property Value
Importance
Gets or sets the importance that should be stamped on incoming messages for the condition or exception to apply. To disable this predicate, set it to null.
public Importance? Importance { get; set; }
Property Value
IsApprovalRequest
Gets or sets a value indicating whether incoming messages must be approval requests for the condition or exception to apply.
public bool IsApprovalRequest { get; set; }
Property Value
IsAutomaticForward
Gets or sets a value indicating whether incoming messages must be automatic forwards for the condition or exception to apply.
public bool IsAutomaticForward { get; set; }
Property Value
IsAutomaticReply
Gets or sets a value indicating whether incoming messages must be automatic replies for the condition or exception to apply.
public bool IsAutomaticReply { get; set; }
Property Value
IsEncrypted
Gets or sets a value indicating whether incoming messages must be S/MIME encrypted for the condition or exception to apply.
public bool IsEncrypted { get; set; }
Property Value
IsMeetingRequest
Gets or sets a value indicating whether incoming messages must be meeting requests for the condition or exception to apply.
public bool IsMeetingRequest { get; set; }
Property Value
IsMeetingResponse
Gets or sets a value indicating whether incoming messages must be meeting responses for the condition or exception to apply.
public bool IsMeetingResponse { get; set; }
Property Value
IsNonDeliveryReport
Gets or sets a value indicating whether incoming messages must be non-delivery reports (NDR) for the condition or exception to apply.
public bool IsNonDeliveryReport { get; set; }
Property Value
IsPermissionControlled
Gets or sets a value indicating whether incoming messages must be permission controlled (RMS protected) for the condition or exception to apply.
public bool IsPermissionControlled { get; set; }
Property Value
IsReadReceipt
Gets or sets a value indicating whether incoming messages must be read receipts for the condition or exception to apply.
public bool IsReadReceipt { get; set; }
Property Value
IsSigned
Gets or sets a value indicating whether incoming messages must be S/MIME signed for the condition or exception to apply.
public bool IsSigned { get; set; }
Property Value
IsVoicemail
Gets or sets a value indicating whether incoming messages must be voice mails for the condition or exception to apply.
public bool IsVoicemail { get; set; }
Property Value
ItemClasses
Gets the item classes that must be stamped on incoming messages for the condition or exception to apply. To disable this predicate, empty the list.
public StringList ItemClasses { get; }
Property Value
MessageClassifications
Gets the message classifications that must be stamped on incoming messages for the condition or exception to apply. To disable this predicate, empty the list.
public StringList MessageClassifications { get; }
Property Value
NotSentToMe
Gets or sets a value indicating whether the owner of the mailbox must NOT be a To recipient of the incoming messages for the condition or exception to apply.
public bool NotSentToMe { get; set; }
Property Value
Sensitivity
Gets or sets the sensitivity that must be stamped on incoming messages for the condition or exception to apply. To disable this predicate, set it to null.
public Sensitivity? Sensitivity { get; set; }
Property Value
SentCcMe
Gets or sets a value indicating whether the owner of the mailbox must be a Cc recipient of incoming messages for the condition or exception to apply.
public bool SentCcMe { get; set; }
Property Value
SentOnlyToMe
Gets or sets a value indicating whether the owner of the mailbox must be the only To recipient of incoming messages for the condition or exception to apply.
public bool SentOnlyToMe { get; set; }
Property Value
SentToAddresses
Gets the e-mail addresses incoming messages must have been sent to for the condition or exception to apply. To disable this predicate, empty the list.
public EmailAddressCollection SentToAddresses { get; }
Property Value
SentToMe
Gets or sets a value indicating whether the owner of the mailbox must be a To recipient of incoming messages for the condition or exception to apply.
public bool SentToMe { get; set; }
Property Value
SentToOrCcMe
Gets or sets a value indicating whether the owner of the mailbox must be either a To or Cc recipient of incoming messages for the condition or exception to apply.
public bool SentToOrCcMe { get; set; }
Property Value
WithinDateRange
Gets the date range within which incoming messages must have been received for the condition or exception to apply. To disable this predicate, set both its Start and End properties to null.
public RulePredicateDateRange WithinDateRange { get; }
Property Value
WithinSizeRange
Gets the minimum and maximum sizes incoming messages must have for the condition or exception to apply. To disable this predicate, set both its MinimumSize and MaximumSize properties to null.
public RulePredicateSizeRange WithinSizeRange { get; }