After reading the answers to this question and attempting to answer this question, I got to thinking about the nature of planes created by the spell demiplane. The part of the spell that especially got me thinking is the following :
Each time you cast this spell, you can create a new demiplane, or have the shadowy door connect to a demiplane you created with a previous casting of this spell. Additionally, if you know the nature and contents of a demiplane created by a casting of this spell by another creature, you can have the shadowy door connect to its demiplane instead.
This text implies that the spell either creates a new demiplane, or allows access to a demiplane that was created by this spell. As such, could one of those demiplanes be targeted by a spell such as dispel magic, as an "effect" of the spell demiplane? What about suppressing some or all of a demiplane, such as using an antimagic field?
This question could also extend to demiplane-like extradimensional spaces created by magic items, such as a bag of holding or a portable hole, since they are of a similar nature. As for what would happen if the dispel worked, at least for those it would seem logical to conclude that their contents are scattered across the astral plane, just like when they are destroyed, but I could be wrongly assuming that the result would be the same.