Share via


IFPCSmtpRoute::AddressSpaces property

Applies to: desktop apps only

The AddressSpaces property gets an FPCAddressSpaces collection that contains the address spaces associated with the route.

This property is read-only.

Syntax

HRESULT get_AddressSpaces(
  IFPCAddressSpaces **ppAddressSpaces
);
' Data type: FPCAddressSpaces

Property AddressSpaces( _
  ByVal ppAddressSpaces As IFPCAddressSpaces _
) As FPCAddressSpaces

Property value

Reference to an FPCAddressSpaces collection that contains the address spaces associated with the route.

Error codes

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

Remarks

This property is read-only. Address spaces can be added and removed by calling the Add and Remove methods of the FPCAddressSpaces collection retrieved (the IFPCAddressSpaces interface retrieved in C++).

The address spaces held in this property define the accepted domains for the SMTP route. When the RouteDirection property is set to fpcInternetMailServer, only incoming email messages sent to a domain that matches an accepted domain defined for the route are accepted.

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008 R2, Windows Server 2008 with SP2 (64-bit only)

Version

Forefront Threat Management Gateway (TMG) 2010

IDL

Msfpccom.idl

DLL

Msfpccom.dll

See also

FPCSmtpRoute

 

 

Build date: 7/12/2010