Table of Contents

Class SqlDatabaseMailAccount

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

Represents a SQL database mail account.

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

Constructors

SqlDatabaseMailAccount()

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

public SqlDatabaseMailAccount()

Properties

AuthenticationType

Gets or sets the authentication type for the SMTP server.

public SqlDatabaseMailAccountAuthenticationType AuthenticationType { get; set; }

Property Value

SqlDatabaseMailAccountAuthenticationType

AuthenticationTypeString

Gets the authentication type for the SMTP server as a human readable string.

public string AuthenticationTypeString { get; set; }

Property Value

string

Description

Gets or sets the description of the account.

public string Description { get; set; }

Property Value

string

DisplayName

Gets or sets the display name of the address.

public string DisplayName { get; set; }

Property Value

string

EmailAddress

Gets or sets the email address for the account.

public string EmailAddress { get; set; }

Property Value

string

EnableSsl

Gets or sets whether the server requires a secure connection (SSL).

public BooleanOption EnableSsl { get; set; }

Property Value

BooleanOption

Name

Gets or sets the name of the database mail account.

public string Name { get; set; }

Property Value

string

Port

Gets or sets the SMTP port.

public int Port { get; set; }

Property Value

int

ProfileNames

Gets or sets the names of the profiles to which the account is assigned.

public SerializableStringCollection ProfileNames { get; set; }

Property Value

SerializableStringCollection

ReplyToAddress

Gets or sets the reply to address.

public string ReplyToAddress { get; set; }

Property Value

string

ServerName

Gets or sets the name or address of the SMTP server.

public string ServerName { get; set; }

Property Value

string

UserName

Gets or sets the username to use for authentication with the SMTP server.

public string UserName { get; set; }

Property Value

string

Methods

Clone()

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

public SqlDatabaseMailAccount Clone()

Returns

SqlDatabaseMailAccount

A CENTREL.XIA.Configuration.Types.SqlDatabaseMailAccount.

CompareTo(SqlDatabaseMailAccount)

Compares two CENTREL.XIA.Configuration.Types.SqlDatabaseMailAccount objects to allow sorting alphabetically by name.

public int CompareTo(SqlDatabaseMailAccount other)

Parameters

other SqlDatabaseMailAccount

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

Returns

int

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