Share via


BlockedSenders Property of the IFPCMailAntiSpamSettings Interface

The BlockedSenders property gets an FPCBlockedSenders collection that contains the list of blocked senders and blocked domains.

C++

HRESULT get_BlockedSenders(
    IFPCBlockedSenders** ppBlockedSenders
);

Parameters

  • ppBlockedSenders
    Address of an interface pointer that on return points to an IFPCBlockedSenders interface that represents the collection of blocked senders and blocked domains.

Return Value

This property method returns S_OK if the call is successful; otherwise, it returns an error code.

Visual Basic

Property BlockedSenders As FPCBlockedSenders

Property Value

Reference to an FPCBlockedSenders collection that contains the list of blocked senders and blocked domains.

Remarks

This property is read-only. Blocked senders and blocked domains can be added and removed by calling the Add and Remove methods of the FPCBlockedSenders collection retrieved (the IFPCBlockedSenders interface retrieved in C++).

Requirements

Client Requires Windows 7 or Windows Vista.
Server Requires Windows Server 2008 R2 or Windows Server 2008 x64 Edition with SP2.
Version Requires Forefront Threat Management Gateway (TMG) 2010.
IDL

Declared in Msfpccom.idl.

DLL

Requires Msfpccom.dll.

See Also

FPCMailAntiSpamSettings

Send comments about this topic to Microsoft

Build date: 6/30/2010