다음을 통해 공유


AddressBookEntry.IsSafeRecipient Method

When overridden in a derived class, the IsSafeRecipient method gets a value that indicates whether messages from the recipient that is represented by this instance of the AddressBookEntry class to the recipient that is specified by the recipientAddress parameter should bypass anti-spam tests.

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

Syntax

'Declaration
Public MustOverride Function IsSafeRecipient ( _
    recipientAddress As RoutingAddress _
) As Boolean
public abstract bool IsSafeRecipient (
    RoutingAddress recipientAddress
)
public:
virtual bool IsSafeRecipient (
    RoutingAddress recipientAddress
) abstract
public abstract boolean IsSafeRecipient (
    RoutingAddress recipientAddress
)
public abstract function IsSafeRecipient (
    recipientAddress : RoutingAddress
) : boolean

Parameters

  • recipientAddress
    An instance of the RoutingAddress class that represents the recipient to check for anti-spam bypass for messages from the recipient that is represented by this instance of the AddressBookEntry class.

Return Value

The IsSafeRecipient method returns true if the address for the recipient that is specified by the recipientAddress parameter is in the list of trusted recipients for the recipient that is represented by this instance of the AddressBookEntry class or if the domain for the recipient that is specified by the recipientAddress parameter is in the list of trusted domains for the recipient that is specified by this instance of the AddressBookEntry class; otherwise, the method returns false.

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