The remote procedure call (RPC) command example program, rpc.c, sends an RPC command to a server and processes the results.
For more information about this example program, see the leading comments in the example source file.
This example requires SQL Server version 11.1 or later.