![Collapse image Collapse image](collapse_all.gif)
![Expand Image Expand Image](expand_all.gif)
![](collapse_all.gif)
![](expand_all.gif)
![](dropdown.gif)
![](dropdownHover.gif)
![Copy image Copy image](copycode.gif)
![CopyHover image CopyHover image](copycodeHighlight.gif)
Defines the VPN strategies.
Namespace: DotRas
Assembly: DotRas (in DotRas.dll) Version: 1.3.5166.33435 (1.3.0.0)
Syntax
C# |
---|
public enum RasVpnStrategy |
Visual Basic |
---|
Public Enumeration RasVpnStrategy |
Visual C++ |
---|
public enum class RasVpnStrategy |
F# |
---|
type RasVpnStrategy |
Members
Member name | Value | Description | |
---|---|---|---|
Default | 0 | Dials PPTP first. If PPTP fails, L2TP is attempted. | |
PptpOnly | 1 | Dial PPTP only. | |
PptpFirst | 2 | Always dial PPTP first. | |
L2tpOnly | 3 | Dial L2TP only. | |
L2tpFirst | 4 | Always dial L2TP first. | |
SstpOnly | 5 |
Dial SSTP only.
Windows Vista or later: This value is supported. |
|
SstpFirst | 6 |
Always dial SSTP first.
Windows Vista or later: This value is supported. |
|
IkeV2Only | 7 |
Dial IKEv2 only.
Windows 7 or later: This value is supported. |
|
IkeV2First | 8 |
Dial IKEv2 first.
Windows 7 or later: This value is supported. |