Share via


AddressBook.IsMemberOf method

When overridden in a derived class, the IsMemberOf method indicates whether the specified recipient belongs to the specified group.

Namespace:  Microsoft.Exchange.Data.Transport
Assembly:  Microsoft.Exchange.Data.Transport (in Microsoft.Exchange.Data.Transport.dll)

Syntax

'Declaration
Public MustOverride Function IsMemberOf ( _
    recipientSmtpAddress As RoutingAddress, _
    groupSmtpAddress As RoutingAddress _
) As Boolean
'Usage
Dim instance As AddressBook
Dim recipientSmtpAddress As RoutingAddress
Dim groupSmtpAddress As RoutingAddress
Dim returnValue As Boolean

returnValue = instance.IsMemberOf(recipientSmtpAddress, _
    groupSmtpAddress)
public abstract bool IsMemberOf(
    RoutingAddress recipientSmtpAddress,
    RoutingAddress groupSmtpAddress
)

Parameters

Return value

Type: System.Boolean
When overridden in a derived class, the IsMemberOf method returns true if the specified recipient is a member of the specified group; otherwise, the method returns false.

See also

Reference

AddressBook class

AddressBook members

Microsoft.Exchange.Data.Transport namespace