VpnPlugInProfile.AlwaysOn Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a value that indicates whether the VPN profile is for Always-On VPN; that is, whether the profile is capable of being always connected.
public:
property bool AlwaysOn { bool get(); void set(bool value); };
bool AlwaysOn();
void AlwaysOn(bool value);
public bool AlwaysOn { get; set; }
var boolean = vpnPlugInProfile.alwaysOn;
vpnPlugInProfile.alwaysOn = boolean;
Public Property AlwaysOn As Boolean
Property Value
bool
true
if the VPN profile is capable of being always connected, otherwise false
.
Implements
Windows requirements
App capabilities |
networkingVpnProvider
|
Remarks
When this property value has the value true
, the profile is capable of being always-on; when the user also click the always connected setting, the profile actually is always-on.