Export (0) Print
Expand All

SqlConnection.RetrieveStatistics Method

Note: This method is new in the .NET Framework version 2.0.

Returns a name value pair collection of statistics at the point in time the method is called.

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

public IDictionary RetrieveStatistics ()
public IDictionary RetrieveStatistics ()
public function RetrieveStatistics () : IDictionary

Return Value

Returns a reference of type IDictionary of DictionaryEntry items.

When this method is called, the values retrieved are those at the current point in time. If you continue using the connection, the values are incorrect. You need to re-execute the method to obtain the most current values.

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0

Community Additions

ADD
Show:
© 2014 Microsoft