Share via


IFPCSmtpRoute::RouteDirection property

Applies to: desktop apps only

The RouteDirection property gets or sets a value from the FpcSmtpRouteDirection enumerated type that indicates whether the route is to internal or external mail servers.

This property is read/write.

Syntax

HRESULT put_RouteDirection(
  FpcSmtpRouteDirection RouteDirection
);

HRESULT get_RouteDirection(
  FpcSmtpRouteDirection *pRouteDirection
);
' Data type: FpcSmtpRouteDirection

Property RouteDirection( _
  ByVal RouteDirection As FpcSmtpRouteDirection, _
  ByVal pRouteDirection As FpcSmtpRouteDirection _
) As FpcSmtpRouteDirection

Property value

Value from the FpcSmtpRouteDirection enumerated type that specifies whether the route is to internal or external mail servers.

Error codes

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

Remarks

This property is read/write. Its default value is fpcInternetMailServer, which indicates that the route listens for inbound mail from external SMTP servers, which typically reside on the Internet.

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