Udostępnij za pośrednictwem


MailAccount.MailServers Property

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

Namespace: Microsoft.SqlServer.Management.Smo.Mail
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Syntax

'Deklaracja
<SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny, GetType(MailServer))> _
Public ReadOnly Property MailServers As MailServerCollection
[SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny, typeof(MailServer))] 
public MailServerCollection MailServers { get; }
[SfcObjectAttribute(SfcContainerRelationship::ObjectContainer, SfcContainerCardinality::ZeroToAny, typeof(MailServer))] 
public:
property MailServerCollection^ MailServers {
    MailServerCollection^ get ();
}
/** @property */
public MailServerCollection get_MailServers ()
public function get MailServers () : MailServerCollection

Property Value

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

Thread Safety

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.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.