VpnTrafficFilter.Protocol 属性

定义

获取或设置此流量筛选器允许的 IP 协议。

public:
 property VpnIPProtocol Protocol { VpnIPProtocol get(); void set(VpnIPProtocol value); };
VpnIPProtocol Protocol();

void Protocol(VpnIPProtocol value);
public VpnIPProtocol Protocol { get; set; }
var vpnIPProtocol = vpnTrafficFilter.protocol;
vpnTrafficFilter.protocol = vpnIPProtocol;
Public Property Protocol As VpnIPProtocol

属性值

一个枚举值,指示此流量筛选器允许哪个 IP 协议。

Windows 要求

应用功能
networkingVpnProvider

适用于