Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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
'Declaration
<SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny, _
GetType(MailServer))> _
Public ReadOnly Property MailServers As MailServerCollection
Get
'Usage
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
Property Value
Type: Microsoft.SqlServer.Management.Smo.Mail.MailServerCollection
A MailServerCollection that represents the mail servers associated with the mail account.
Examples
See Also
Reference
Microsoft.SqlServer.Management.Smo.Mail Namespace