Microsoft Internet Security and Acceleration Server 2004 SDK

RoutingType Property of IFPCNetworkRule[C++]

FPCNetworkRule.RoutingType [Visual Basic]

[C++]

The RoutingType property gets or sets a value from the FpcNetworkRoutingTypes enumerated type that specifies the type of relationship between the source and destination network entities to which the rule applies. Network entities can have a routing relationship or a network address translation (NAT) relationship.

HRESULT get_RoutingType(
  FpcNetworkRoutingTypes* pNetworkRoutingType
);

HRESULT put_RoutingType(
  FpcPolicyRuleActions NetworkRoutingType
);

Parameters

pNetworkRoutingType
Pointer to a value from the FpcNetworkRoutingTypes enumerated type that is set on return to either fpcRoute, which indicates that the network entities have a routing relationship, or to fpcNat, which indicates that the network entities have a NAT relationship.
NetworkRoutingType
Value from the FpcNetworkRoutingTypes enumerated type that specifies the type of network relationship.

Return Values

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

Remarks

This property is read/write.

When network entities have a routing relationship and access rules allow traffic between them, ISA Server routes traffic between the network entities without NAT. This is a two-way relationship defined by a single rule.

When network entities have a NAT relationship and publishing rules allow traffic from the source network to the destination network, ISA Server replaces the IP addresses of computers in the source network with an IP address of the network adapter on the ISA Server computer that is connected to the destination network. This relationship is defined in one direction only, source to destination, and cannot be defined in the opposite direction. However, traffic that is allowed by access rules is routed in the opposite direction without NAT.

[Visual Basic]

The RoutingType property gets or sets a value from the FpcNetworkRoutingTypes enumerated type that specifies the type of relationship between the source and destination network entities to which the rule applies. Network entities can have a routing relationship or a network address translation (NAT) relationship.

Property RoutingType As FpcNetworkRoutingTypes

Property Value

Value from the FpcNetworkRoutingTypes enumerated type that specifies the type of network relationship.

Remarks

This property is read/write.

When network entities have a routing relationship and access rules allow traffic between them, ISA Server routes traffic between the network entities without NAT. This is a two-way relationship defined by a single rule.

When network entities have a NAT relationship and publishing rules allow traffic from the source network to the destination network, ISA Server replaces the IP addresses of computers in the source network with an IP address of the network adapter on the ISA Server computer that is connected to the destination network. This relationship is defined in one direction only, source to destination, and cannot be defined in the opposite direction. However, traffic that is allowed by access rules is routed in the opposite direction without NAT.

Requirements

Server: Requires Windows Server 2003 or Windows 2000.
Version: Requires Internet Security and Acceleration Server 2004.
Header: Declared in Msfpccom.idl.
Library: Use Microsoft Internet Security and Acceleration Server 2004 Administration Library.

See Also

FPCNetworkRule