connection_address_family_e address_family, char **dhcp_server);
/**
+ * @brief Gets the DHCP lease duration.
+ * @since_tizen 4.0
+ * @param[in] profile The profile handle
+ * @param[in] address_family The address family
+ * @param[out] dhcp_lease_duration The DHCP lease duration in seconds
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #CONNECTION_ERROR_NONE Successful
+ * @retval #CONNECTION_ERROR_INVALID_PARAMETER Invalid parameter
+ * @retval #CONNECTION_ERROR_ADDRESS_FAMILY_NOT_SUPPORTED Not supported address family
+ * @retval #CONNECTION_ERROR_OPERATION_FAILED Operation failed
+ * @retval #CONNECTION_ERROR_NOT_SUPPORTED Not supported
+*/
+int connection_profile_get_dhcp_lease_duration(connection_profile_h profile,
+ connection_address_family_e address_family, int *dhcp_lease_duration);
+
+/**
* @brief Gets the DNS address.
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
* @remarks The allowance of the DNS address is @c 2. You must release @a dns_address using free().