If you buy a property you will get a Residence Permit to live here but you cannot work with that Visa.