Свойство MailServers
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 (в Microsoft.SqlServer.Smo.dll)
Синтаксис
'Декларация
<SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny, _
GetType(MailServer))> _
Public ReadOnly Property MailServers As MailServerCollection
Get
'Применение
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
Значение свойства
Тип: Microsoft.SqlServer.Management.Smo.Mail. . :: . .MailServerCollection
A MailServerCollection that represents the mail servers associated with the mail account.
См. также