Table of Contents

Class ExchangeTransportRule

Namespace
CENTREL.XIA.Configuration.Types
Assembly
CENTREL.XIA.Configuration.Types.dll

Represents a transport rule configured in a Microsoft Exchange organization.

public class ExchangeTransportRule : BaseTypeSection, IComparable<ExchangeTransportRule>
Inheritance
ExchangeTransportRule
Implements

Constructors

ExchangeTransportRule()

Initializes a new instance of the CENTREL.XIA.Configuration.Types.ExchangeTransportRule class.

public ExchangeTransportRule()

Properties

ActivationDate

Gets or sets the date the rule is activated.

public DateTime ActivationDate { get; set; }

Property Value

DateTime

Remarks

The information from this property is available in the description.

AuditMode

Gets or sets the audit mode for the transport rule. This setting does not apply to Exchange 2010.

public ExchangeTransportRuleAuditMode AuditMode { get; set; }

Property Value

ExchangeTransportRuleAuditMode

Remarks

The information from this property is available in the description.

AuditModeString

Gets the audit mode for the transport rule. This setting does not apply to Exchange 2010.

public string AuditModeString { get; set; }

Property Value

string

Remarks

The information from this property is available in the description.

Comments

Gets or sets the comments assigned to the rule.

public string Comments { get; set; }

Property Value

string

DeferOnProcessingError

Gets or sets whether to defer the message if rule processing doesn't complete. This property does not apply to Exchange 2010.

public BooleanOption DeferOnProcessingError { get; set; }

Property Value

BooleanOption

Description

Gets or sets the full description text of this rule.

public string Description { get; set; }

Property Value

string

Enabled

Gets or sets whether the rule is enabled.

public BooleanOption Enabled { get; set; }

Property Value

BooleanOption

ExpiryDate

Gets or sets the date the rule expires. This setting does not apply to Exchange 2010.

public DateTime ExpiryDate { get; set; }

Property Value

DateTime

Remarks

The information from this property is available in the description.

Guid

Gets or sets the identifier of the transport rule in GUID format.

public string Guid { get; set; }

Property Value

string

Identity

Gets or sets the identity of the transport rule.

public string Identity { get; set; }

Property Value

string

Mode

Gets or sets the mode of the transport rule. This setting does not apply to Exchange 2010.

public ExchangeTransportRuleMode Mode { get; set; }

Property Value

ExchangeTransportRuleMode

ModeString

Gets the mode of the transport rule. This setting does not apply to Exchange 2010.

public string ModeString { get; set; }

Property Value

string

Name

Gets or sets the name of the transport rule.

public string Name { get; set; }

Property Value

string

Priority

Gets or sets the priority of the transport rule.

public int Priority { get; set; }

Property Value

int

RuleVersion

Gets or sets the version of the transport rule.

public SerializableVersion RuleVersion { get; set; }

Property Value

SerializableVersion

SenderAddressLocation

Gets or sets the location in the message to match the sender address. This setting does not apply to Exchange 2010.

public ExchangeTransportRuleSenderAddressLocation SenderAddressLocation { get; set; }

Property Value

ExchangeTransportRuleSenderAddressLocation

SenderAddressLocationString

Gets the location in the message to match the sender address. This setting does not apply to Exchange 2010.

public string SenderAddressLocationString { get; set; }

Property Value

string

StopRuleProcessing

Gets or sets whether to stop processing more rules. This setting does not apply to Exchange 2010.

public BooleanOption StopRuleProcessing { get; set; }

Property Value

BooleanOption

WhenChanged

Gets or sets the date and time when the object was last updated.

public DateTime WhenChanged { get; set; }

Property Value

DateTime

Methods

Clone()

Returns a CENTREL.XIA.Configuration.Types.ExchangeTransportRule cloned from this object.

public ExchangeTransportRule Clone()

Returns

ExchangeTransportRule

A CENTREL.XIA.Configuration.Types.ExchangeTransportRule.

CompareTo(ExchangeTransportRule)

Compares two CENTREL.XIA.Configuration.Types.ExchangeTransportRule objects to allow sorting by priority.

public int CompareTo(ExchangeTransportRule other)

Parameters

other ExchangeTransportRule

The CENTREL.XIA.Configuration.Types.ExchangeTransportRule to compare to.

Returns

int

The sort order of the two CENTREL.XIA.Configuration.Types.ExchangeTransportRule objects.