My understanding is that it works like most vaccines and gives you a small exposure so that your immune system reacts and produces antibodies to fight the virus so that if you are exposed to it again then your body recognises it and knows how to fight it.
You can still be a carrier, just like now, people can be carriers without knowing they have come in contact with the virus.