ServersEvents Object

                                  

 

The ServersEvents object allows you to handle the events raised by the Servers collection, and by all known servers. It has no properties or methods.

The Servers collection’s Events property gives you a reference to the ServersEvents object. To handle the events, store that reference in an object variable declared using the WithEvents keyword. See the example.

All the events raised by an individual server’s Events object are also raised by the ServersEvents object. This lets you build a single common event handler for all known servers.

Enabling Operational Intelligence