Udostępnij za pośrednictwem


VpnRoutingPolicyType Enum

Definition

Specifies the routing policy type.

public enum class VpnRoutingPolicyType
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class VpnRoutingPolicyType
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum VpnRoutingPolicyType
var value = Windows.Networking.Vpn.VpnRoutingPolicyType.splitRouting
Public Enum VpnRoutingPolicyType
Inheritance
VpnRoutingPolicyType
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)
App capabilities
networkingVpnProvider

Fields

Name Value Description
SplitRouting 0

Apps are split tunneled and allowed to talk through other interfaces.

ForceAllTrafficOverVpn 1

Apps are force tunneled through the VPN interface.

Applies to