I wouldn't confine my dog in my home,because he would hear us and would probably whine and not settle being away from the rest of us. He's a very social dog and likes to be near his people.
I'd probably board him at doggy daycare for one day and night.
The other choice would be to have another family member without pets to host the get together.
,
If you have a garden and a library, you have everything you need.--Marcus Tullius Cicero