Buying real estate in Argentina BA

#1
I like what I read about the consulat and believe it is the path to follow to get residency. Is buying an appartment gives you residency and for how long if any?.