Table of Contents

Class ExchangeEmailAddressPolicy

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

Represents an email address policy configured in a Microsoft Exchange organization.

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

Constructors

ExchangeEmailAddressPolicy()

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

public ExchangeEmailAddressPolicy()

Properties

EnabledEmailAddressTemplates

Gets or sets the email address templates.

public SerializableStringCollection EnabledEmailAddressTemplates { get; set; }

Property Value

SerializableStringCollection

EnabledPrimarySmtpAddressTemplate

Gets or sets the primary SMTP template for this email address policy.

public string EnabledPrimarySmtpAddressTemplate { get; set; }

Property Value

string

Guid

Gets or sets the identifier of the email address policy in GUID format.

public string Guid { get; set; }

Property Value

string

Identity

Gets or sets the identity of the email address policy.

public string Identity { get; set; }

Property Value

string

IsApplied

Gets or sets whether the email address policy is applied.

public BooleanOption IsApplied { get; set; }

Property Value

BooleanOption

Name

Gets or sets the name of the email address policy.

public string Name { get; set; }

Property Value

string

Priority

Gets or sets the priority of this policy.

public int Priority { get; set; }

Property Value

int

PriorityString

Gets the priority as a human readable string.

public string PriorityString { get; set; }

Property Value

string

RecipientFilter

Gets or sets the recipient filter.

public string RecipientFilter { get; set; }

Property Value

string

RecipientTypes

Gets or sets the recipient types that are configured for this email address policy.

public ExchangeRecipientType RecipientTypes { get; set; }

Property Value

ExchangeRecipientType

RecipientTypesStrings

Gets the recipient types to which the email address policy applies.

public SerializableStringCollection RecipientTypesStrings { get; set; }

Property Value

SerializableStringCollection

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.ExchangeEmailAddressPolicy cloned from this object.

public ExchangeEmailAddressPolicy Clone()

Returns

ExchangeEmailAddressPolicy

A CENTREL.XIA.Configuration.Types.ExchangeEmailAddressPolicy.

CompareTo(ExchangeEmailAddressPolicy)

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

public int CompareTo(ExchangeEmailAddressPolicy other)

Parameters

other ExchangeEmailAddressPolicy

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

Returns

int

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

GetEmailAddressTemplateDisplayValue(string)

Gets the display value for the specified email address template.

public static string GetEmailAddressTemplateDisplayValue(string emailAddressTemplate)

Parameters

emailAddressTemplate string

The email address template - for example "SMTP:%s%1g@demoex16.int".

Returns

string

The display value for the specified email address template - for example "smithj@contoso.com".