Partager via


Propriété MailServers

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

Espace de noms :  Microsoft.SqlServer.Management.Smo.Mail
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
<SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny,  _
    GetType(MailServer))> _
Public ReadOnly Property MailServers As MailServerCollection
    Get
'Utilisation
Dim instance As MailAccount
Dim value As MailServerCollection

value = instance.MailServers
[SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny, 
    typeof(MailServer))]
public MailServerCollection MailServers { get; }
[SfcObjectAttribute(SfcContainerRelationship::ObjectContainer, SfcContainerCardinality::ZeroToAny, 
    typeof(MailServer))]
public:
property MailServerCollection^ MailServers {
    MailServerCollection^ get ();
}
[<SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny, 
    typeof(MailServer))>]
member MailServers : MailServerCollection
function get MailServers () : MailServerCollection

Valeur de propriété

Type : Microsoft.SqlServer.Management.Smo.Mail. . :: . .MailServerCollection
A MailServerCollection that represents the mail servers associated with the mail account.