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.