共用方式為


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.