---
title: DNSSettings.OnDemandRulesElement.ActionParameter
framework: devicemanagement
role: symbol
role_heading: Device Management Profile
path: devicemanagement/dnssettings/ondemandruleselement/actionparameter
---

# DNSSettings.OnDemandRulesElement.ActionParameter

A dictionary that provides per-connection rules.

## Declaration

```data
object DNSSettings.OnDemandRulesElement.ActionParameter
```

## Properties

DomainAction: The DNS settings behavior for the specified domains. Allowed values: ‘NeverConnect’: Don’t use the DNS Settings for the specified domains. ‘ConnectIfNeeded’: Allow using the DNS Settings for the specified domains. Domains: The domains for which this evaluation applies.

## Discussion

Discussion The keys allowed in each dictionary are described below. Note: This array is only for dictionaries in which EvaluateConnection is the Action value.
