Starts an Open Data Services server application.
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).
int srv_run ( SRV_SERVER * server );
SRV_STOP for a stopped server. Returns FAIL if the server cannot be run.
When started, the server waits for a client request, calls the appropriate event handler to process the request, and then continues waiting. The srv_run function does not return until the server has been stopped by a SRV_STOP event.
If a server has stopped, you must use srv_init to reinitialize it before you can restart it.
srv_config | srv_init |