The ServerEvents object allows you to handle the events raised by a server. It has no properties or methods.
The server objects Events property gives you a reference to that servers ServerEvents object. To handle the events, store that reference in an object variable declared using the WithEvents keyword. See the example.