MailForwardingMethod Property of the IFPCSmtpRoute Interface

The MailForwardingMethod property gets or sets a value from the FpcMailForwardingMethod enumerated type that indicates the mail forwarding method for the route.

C++

HRESULT put_MailForwardingMethod(
    FpcMailForwardingMethod MailForwardingMethod
);
HRESULT get_MailForwardingMethod(
    FpcMailForwardingMethod* pMailForwardingMethod
);

Parameters

  • MailForwardingMethod
    Value from the FpcMailForwardingMethod enumerated type that specifies the mail forwarding method for the route.

  • pMailForwardingMethod
    Pointer to a variable that on return receives a value from the FpcMailForwardingMethod enumerated type indicating the mail forwarding method for the route.

Return Value

These property methods return S_OK if the call is successful; otherwise, they return an error code.

Visual Basic

Property MailForwardingMethod As FpcMailForwardingMethod

Property Value

Value from the FpcMailForwardingMethod enumerated type that specifies the mail forwarding method for the route.

Remarks

This property is read/write. The default value is fpcForwardUsingMxRecord, which indicates that the mail exchanger (MX) resource record registered in DNS will be used to forward mail.

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

FPCSmtpRoute

Send comments about this topic to Microsoft

Build date: 6/30/2010