共用方式為


VpnNativeProfile.RoutingPolicyType 屬性

定義

取得或設定此流量篩選器允許的應用程式是否透過 VPN 介面進行強制通道,或它們是否經過分割通道,並允許透過其他介面進行交談。

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

屬性值

列舉值,指出 VPN 配置檔是分割通道還是強制通道。

Windows 需求

應用程式功能
networkingVpnProvider

適用於