Determines whether an SRV_PROC input and output connection to a client is open.
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).
BOOL SRV_IODEAD ( SRV_PROC * srvproc );
TRUE if the SRV_PROC structure of the client input and output connection is still open; otherwise, FALSE.
This function is useful in error handling situations when you need to determine whether you can send an error message to a client.
In a SRV_DISCONNECT handler, SRV_IODEAD always returns TRUE.
srv_sendmsg |