Sdílet prostřednictvím


AcceptedDomainCollection.Find Method (RoutingAddress)

When overridden in a derived class, the Find method finds in the collection the instance of the class derived from the AcceptedDomain class that represents the domain specified by the smtpAddress parameter.

Namespace: Microsoft.Exchange.Data.Transport
Assembly: Microsoft.Exchange.Data.Transport (in microsoft.exchange.data.transport.dll)

Syntax

'Declaration
Public Function Find ( _
    smtpAddress As RoutingAddress _
) As AcceptedDomain
public AcceptedDomain Find (
    RoutingAddress smtpAddress
)
public:
AcceptedDomain^ Find (
    RoutingAddress smtpAddress
)
public AcceptedDomain Find (
    RoutingAddress smtpAddress
)
public function Find (
    smtpAddress : RoutingAddress
) : AcceptedDomain

Parameters

  • smtpAddress
    An instance of the RoutingAddress class that represents the domain or domain part to find.

Return Value

When overridden in a derived class, the collection contains an instance of the AcceptedDomain class that represents the domain specified by the smtpAddress parameter and the Find method returns that instance of the class derived from the AcceptedDomain class; otherwise, the method returns null.

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