Share via


SmtpServer.AcceptedDomains property

When overridden in a derived class, the AcceptedDomains property gets an instance of the AcceptedDomainCollection class that represents the list of domains for which this Simple Mail Transfer Protocol (SMTP) server accepts mail.

Namespace:  Microsoft.Exchange.Data.Transport
Assembly:  Microsoft.Exchange.Data.Transport (in Microsoft.Exchange.Data.Transport.dll)

Syntax

'Declaration
Public MustOverride ReadOnly Property AcceptedDomains As AcceptedDomainCollection
    Get
'Usage
Dim instance As SmtpServer
Dim value As AcceptedDomainCollection

value = instance.AcceptedDomains
public abstract AcceptedDomainCollection AcceptedDomains { get; }

Property value

Type: Microsoft.Exchange.Data.Transport.AcceptedDomainCollection

See also

Reference

SmtpServer class

SmtpServer members

Microsoft.Exchange.Data.Transport namespace