The answer is not quite correct. As written, it will run successfully but will not actually drop the trigger.
For logon triggers you need to use:
DROP TRIGGER IF EXISTS CaptureLogins
ON ALL SERVER
ditto in explanation, however thanks Steve for this interesting question.;-)
I researched it and came up with the same conclusion, so I picked the closest option. It was learning something prompted by the question that I enjoy most, so thanks for a good one. I've never been the biggest fan of triggers in general. Like many things, they have their place, but I don't have to like them. Maybe it's because I've seen them misused and abused too many times over the years. 😉