Wudhu (Abulution)

The Prophet (saw) also said, "Whoever performs wudhu and does it properly, then lifts his gaze to the sky and says, “Ashhadu an laa ilaaha illa Allaah, wahdahu laa shareeka lah, wa ashhadu anna Muhammadan 'abdahu wa rasuluhu, the eight gates of Paradise will be opened to him, and he will enter it through whichever one he wishes”. [Muslim, Ahmad and others on the authority of 'Umar, an-Nihaayah, 2/219]

Does that apply if one does Wudu inside a mosque/house and the Wudu area is covered... Is it the niyyah that counts?