Export (0) Print
Expand All

SqlConnection.RetrieveStatistics Method

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
Not applicable.

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 Server 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 Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show:
© 2014 Microsoft