In a Client-Library application, a command is a stream of TDS protocol symbols and data sent from a client to the server. The command describes some operation that the server is to perform and provides parameter data for the operation. In response to an application’s API calls, Client-Library encodes commands in the TDS protocol.