Enumeration

NEEvaluateConnectionRuleAction

No overview available.

Declaration

enum NEEvaluateConnectionRuleAction : Int

Topics

Enumeration Cases

case connectIfNeeded

Start the VPN if connections to the matching hostname cannot be resolved.

case neverConnect

Do not start the VPN.

See Also

Accessing the Rule Action

var action: NEEvaluateConnectionRuleAction

The action to take if the properties of the network connection being established match the rule.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software