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

pMailForwardingMethod

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

MailForwardingMethod

Value from the FpcMailForwardingMethod enumerated type that specifies 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.

Requirements

Client Requires Windows Vista or Windows XP.
Server Requires Windows Server 2008.
Version Requires Forefront Threat Management Gateway (TMG).
IDL

Declared in Msfpccom.idl.

DLL

Requires Msfpccom.dll.

See Also

FPCSmtpRoute


Send comments about this topic to Microsoft

Build date: 11/30/2009

© 2008 Microsoft Corporation. All rights reserved.