Accesses event-handler data passed by srv_event.
Important This Open Data Services function or macro is only supported in Microsoft® SQL Server™ version 7.0 for backward compatibility.
For more information about Open Data Services functions or macros supported for backward compatibility, see Open Data Services (Level 3).
void * SRV_EVENTDATA ( SRV_PROC * srvproc );
A pointer to the event data area in the SRV_PROC structure being passed data by srv_event. The pointer can be NULL.
Sometimes an event contains data supplied by the Open Data Services developer. A pointer to this data can be made available to the event handler by using the SRV_EVENTDATA macro. This data can be passed to event handlers for any event supported by the srv_event function.