Поделиться через


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
'Usage
Dim instance As AcceptedDomainCollection
Dim smtpAddress As RoutingAddress
Dim returnValue As AcceptedDomain

returnValue = instance.Find(smtpAddress)
public AcceptedDomain Find(
    RoutingAddress smtpAddress
)

Parameters

Return value

Type: Microsoft.Exchange.Data.Transport.AcceptedDomain
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 a null reference (Nothing in Visual Basic).

See also

Reference

AcceptedDomainCollection class

AcceptedDomainCollection members

Find overload

Microsoft.Exchange.Data.Transport namespace