CameoNicole, I'll echo Lydna's (always) good advice, and add just a couple of items.
First, today's autosomal DNA tests--the kind AncestryDNA, 23andMe, MyHeritage, and Living DNA perform--can't tell us anything at all about biological connections to King James (IV of Scotland and I of England) or any of the early Stuarts. In fact, due to the way our DNA scrambles and then mingles every time a child is born, autosomal DNA matching with living test-takers is almost impossible to use with any accuracy beyond 5th cousins (4g-grandparents). If ancient remains have been fully sequenced for comparison (which may be likely to happen with notables more often as time goes on because the technology has improved so much), we might be able to make useful correlations out as far 10g-grandparents. But that's about the extent to which autosomal DNA can go from the perspective of genealogy...and by that I mean family studies, who's related to whom; not population genetics or anthropology that tries to look way back into the past.
Second, whoever mentioned 22q11.2 to you has at least some level of understanding of this stuff. Chromosome 22 is our smallest, but there are a number medical conditions associated with deletions of tiny sections of it. There is an actual 22q11.2 Deletion Syndrome, which used to be called DiGeorge Syndrome.
But it is a medical condition, and DNA testing for genealogy will tell you nothing about it, or whether you might have it. Even 23andMe expressly states that its extended, or health testing results will provide no information about it. Largely, this has to do with the testing methods used: they just don't look at chromosome 22 with enough detail to provide any medical data. Bottom line: if you need or want information pertaining to a possible 22q11 deletion, you'll need to consult a medical professional.
That said, and with the understanding that I am not a medical professional and nothing I say can be considered medical advice... While 22q11.2 Deletion Syndrome can be hereditary, it seems to be passed down genetically only about 10% of the time. The deletion seems to occur most often as a random thing during gamete development (the mother's egg or the father's sperm) or during the rapid cell replication that happens during very early development of the fetus. But we don't know every detail about it yet. The area contains up to 40 individual genes, most of which have yet to be adequately defined as to purpose and function. So for anyone with 22q11.2 Deletion Syndrome (or similar) it can be passed down to children, but if someone has it there's a better than 80% chance that neither parent does.
And because there are as many as 40 genes in that region, 22q11.2 Deletion Syndrome doesn't have a single set of symptoms. Some people might have most of that chunk of Chr22 missing, while others might be missing a much smaller section. That's one reason it's difficult to diagnose. And while rare, some form of the symptom isn't exceedingly rare; the NIH estimates as many as one in 4,000 people have deletions in this area of Chr22.
(Only for the DNA nerdists among us--do we need a special T-shirt or call-sign or something?--this region is very near the centromere on the long arm of Chr22. The "p" always designates the short arm of a chromosome, and "q" the long (here is an interesting history of that naming convention, but I always remember "p" for "petit"). Chr22 is one of our acrocentric chromosomes, so most of the action occurs on the long arm. Depending on the map build you're using, 22's centromere will be somewhere around 14.8Mbp. You can spot it quickly by clicking on Chr22 at NCBI's 1000 Genomes Browser. The 22q11.2 position begins, in GRCh38, at about 17.4Mbp. Had to look that up, of course, so figured I may as well include it for the all the folks who, like me, never got out of the childhood habit of asking, "But, why?")