Detecting a command type

The first task within the SRV_DYNAMIC event handler is to retrieve the type of dynamic command the client issued and, in some cases, the dynamic statement’s ID and text. It must store the information and refer back to it later when it responds to client requests.