How do I fix a vinyl covering that is coming away from the outside deck support beam?
If you want to use an adhesive, one of the liquid nails products should work.  The comment about vinyl expanding and contracting is right, although it may not be a concern since it's under an overhang.  Vinyl siding gets really hot since it's on the side of your house exposed to the sun.