Aracılığıyla paylaş


VpnTrafficFilter.Protocol Property

Definition

Gets or sets the IP protocol that is allowed by this traffic filter.

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

Property Value

An enum value indicating which IP protocol is allowed by this traffic filter.

Windows requirements

App capabilities
networkingVpnProvider

Applies to