AddressSpaces Property of the IFPCSmtpRoute Interface
The AddressSpaces property gets an FPCAddressSpaces collection that contains the address spaces associated with the route.
C++
HRESULT get_AddressSpaces(
IFPCAddressSpaces** ppAddressSpaces
);
Parameters
- ppAddressSpaces
Address of an interface pointer that on return points to an IFPCAddressSpaces interface that represents the collection of address spaces associated with the route.
Return Value
This property method returns S_OK if the call is successful; otherwise, it returns an error code.
Visual Basic
Property AddressSpaces As FPCAddressSpaces
Property Value
Reference to an FPCAddressSpaces collection that contains the address spaces associated with the route.
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 e-mail messages sent to a domain that matches an accepted domain defined for the route are accepted.
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
Send comments about this topic to Microsoft
Build date: 6/30/2010