Udostępnij za pośrednictwem


VpnNativeProfile.RoutingPolicyType Property

Definition

Gets or sets whether the apps allowed by this traffic filter are force tunneled through the VPN interface, or whether they are split tunneled and allowed to talk through other interfaces.

public:
 property VpnRoutingPolicyType RoutingPolicyType { VpnRoutingPolicyType get(); void set(VpnRoutingPolicyType value); };
VpnRoutingPolicyType RoutingPolicyType();

void RoutingPolicyType(VpnRoutingPolicyType value);
public VpnRoutingPolicyType RoutingPolicyType { get; set; }
var vpnRoutingPolicyType = vpnNativeProfile.routingPolicyType;
vpnNativeProfile.routingPolicyType = vpnRoutingPolicyType;
Public Property RoutingPolicyType As VpnRoutingPolicyType

Property Value

An enum value indicating whether a VPN profile is Split Tunneled or Force Tunneled.

Windows requirements

App capabilities
networkingVpnProvider

Applies to