srv_clearstatistics

Clears the statistical counters kept by Open Data Services and resets them to 0.


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).

Syntax

srv_clearstatistics ( SRV_PROC * srvproc );

Arguments
srvproc
Is a pointer to the SRV_PROC structure that is the handle for a particular client connection. The srvproc parameter contains the information that the Open Data Services Library uses to manage communication and data between the application and the client.
Returns

SUCCEED if the statistical counters were cleared; otherwise, FAIL.

See Also
srv_sendstatistics  

  


(c) 1988-98 Microsoft Corporation. All Rights Reserved.