MailAccount.MailServers Property

Represents a collection of MailServer objects. Each MailServer object represents a mail server associated with the mail account.

Пространство имен: Microsoft.SqlServer.Management.Smo.Mail
Сборка: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Синтаксис

'Декларация
Public ReadOnly Property MailServers As MailServerCollection
public MailServerCollection MailServers { get; }
public:
property MailServerCollection^ MailServers {
    MailServerCollection^ get ();
}
/** @property */
public MailServerCollection get_MailServers ()
public function get MailServers () : MailServerCollection

Значение свойства

A MailServerCollection that represents the mail servers associated with the mail account.

Замечания

Это пространство имен, класс или элемент поддерживаются только платформой Microsoft .NET Framework версии 2.0.

Пример

How to: Create a Database Mail Account by Using Visual Basic .NET

Синхронизация потоков

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Платформы

Платформы разработки

Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.

Целевые платформы

Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.

См. также

Справочник

MailAccount Class
MailAccount Members
Microsoft.SqlServer.Management.Smo.Mail Namespace

Другие ресурсы

Using Database Mail
Компонент Database Mail