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
public abstract AcceptedDomainCollection AcceptedDomains { get; }
public:
virtual property AcceptedDomainCollection^ AcceptedDomains {
    AcceptedDomainCollection^ get () abstract;
}
/** @property */
public abstract AcceptedDomainCollection get_AcceptedDomains ()
public abstract function get AcceptedDomains () : AcceptedDomainCollection

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003,

Target Platforms

Windows Server 2003