VpnRouteAssignment.ExcludeLocalSubnets Property

Definition

Gets or sets whether the physical infrastructure network, such as the local subnet, should always be exempted from flowing over the VPN interface.

public:
 property bool ExcludeLocalSubnets { bool get(); void set(bool value); };
bool ExcludeLocalSubnets();

void ExcludeLocalSubnets(bool value);
public bool ExcludeLocalSubnets { get; set; }
var boolean = vpnRouteAssignment.excludeLocalSubnets;
vpnRouteAssignment.excludeLocalSubnets = boolean;
Public Property ExcludeLocalSubnets As Boolean

Property Value

Boolean

bool

If local subnets are excluded, it is TRUE; otherwise , it is FALSE.

Windows requirements

App capabilities
networkingVpnProvider

Applies to