編輯

共用方式為


NEVpnProtocol.DisconnectOnSleep Property

Definition

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

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

Property Value

Attributes

Applies to