Share via


VpnRoute(HostName, Byte) Constructor

Definition

Constructs a VpnRoute object.

public:
 VpnRoute(HostName ^ address, byte prefixSize);
 VpnRoute(HostName const& address, byte const& prefixSize);
public VpnRoute(HostName address, byte prefixSize);
function VpnRoute(address, prefixSize)
Public Sub New (address As HostName, prefixSize As Byte)

Parameters

address
HostName

The ID or the address of the subnet under the route control.

prefixSize
Byte

byte

The size (in bits) to be considered by the subnet.

Windows requirements

App capabilities
networkingVpnProvider

Applies to