Export (0) Print
Expand All

SqlConnection.ResetStatistics Method

If statistics gathering is enabled, all values are reset to zero.

Namespace:  System.Data.SqlClient
Assembly:  System.Data (in System.Data.dll)

public void ResetStatistics()

If statistics gathering is not enabled and this method is called, no error is thrown.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
© 2015 Microsoft