다음을 통해 공유


AddressBook.Find Method (RoutingAddress)

When overridden in a derived class, the Find method finds an address in the address book based on the address specified in the smtpAddress parameter.

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

Syntax

'Declaration
Public MustOverride Function Find ( _
    smtpAddress As RoutingAddress _
) As AddressBookEntry
public abstract AddressBookEntry Find (
    RoutingAddress smtpAddress
)
public:
virtual AddressBookEntry^ Find (
    RoutingAddress smtpAddress
) abstract
public abstract AddressBookEntry Find (
    RoutingAddress smtpAddress
)
public abstract function Find (
    smtpAddress : RoutingAddress
) : AddressBookEntry

Parameters

  • smtpAddress
    An instance of the RoutingAddress object that contains a proxy or primary address.

Return Value

When overridden in a derived class, the Find method returns an instance of the AddressBookEntry object that represents the address found.

Remarks

If the address specified by the smtpAddress parameter is not in the address book, the Find method will return a null object.

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