NEVpnProtocol.DisconnectOnSleep Property

Definition

Gets or sets a Boolean value that controls whether the VPN should disconnect when the device sleeps.

[get: Foundation.Export("disconnectOnSleep")]
[set: Foundation.Export("setDisconnectOnSleep:")]
public virtual bool DisconnectOnSleep { get; set; }
member this.DisconnectOnSleep : bool with get, set

Property Value

Boolean
Attributes

Applies to