다음을 통해 공유


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
public abstract bool IsMemberOf (
    RoutingAddress recipientSmtpAddress,
    RoutingAddress groupSmtpAddress
)
public:
virtual bool IsMemberOf (
    RoutingAddress recipientSmtpAddress, 
    RoutingAddress groupSmtpAddress
) abstract
public abstract boolean IsMemberOf (
    RoutingAddress recipientSmtpAddress, 
    RoutingAddress groupSmtpAddress
)
public abstract function IsMemberOf (
    recipientSmtpAddress : RoutingAddress, 
    groupSmtpAddress : RoutingAddress
) : boolean

Parameters

  • recipientSmtpAddress
    The proxy or primary address of the recipient.
  • groupSmtpAddress
    The proxy or primary address of the group.

Return Value

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.

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