Sends a status value to the client in response to a request.
int srv_sendstatus (
SRV_PROC * srvproc,
DBINT value );
where
SUCCEED or FAIL
When a request is received, a developer-supplied event handler function is called to service it. Part of the response to a request can be to return a status value.
A status value can be sent after all rows, if any, have been sent to the client with srv_sendrow and before the completion status is sent with srv_senddone. Only one status value can be sent for each set of results. This is equivalent to the Transact-SQL RETURN command.
This entry | For information about |
---|---|
srv_errhandle | Defining Open Data Services error handlers |
srv_senddone | Sending a results completion message to the client |
srv_sendmsg | Sending a message to the client |
srv_sendrow | Sending a row to a client |