SRV_EVENTDATA

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).

Syntax

void * SRV_EVENTDATA ( SRV_PROC * srvproc );

Arguments
srvproc
Is a pointer to the SRV_PROC structure that is the handle for a particular client connection (in this case, the handle that received the event).
Returns

A pointer to the event data area in the SRV_PROC structure being passed data by srv_event. The pointer can be NULL.

Remarks

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.

  


(c) 1988-98 Microsoft Corporation. All Rights Reserved.