No. You can attach a pergola to your house or you can allow it to be a freestanding pergola. It doesn't change the term of the structure because it is or isn't attached to a building.