Does switching frequency related to bandwidth?

If the bandwidth is 50Mhz centered at 100MHz, does this information has to do with switching frequency?

If a max switching frequency of a transistor is 2GHz, does this has to do with bandwidth??

Ohh!!! I'm confused.