Mimer SQL Data Provider
QueryStatistics(Boolean,Boolean) Method




Mimer.Data.Client Namespace > MimerMonitor Class > QueryStatistics Method : QueryStatistics(Boolean,Boolean) Method
When true the system will also include the actual SQL statements.
Whether to request information for all users or only current user.
Retrieve an array of SQL statistics information in the form of MimerMonitorInstances.
Syntax
'Declaration
 
Public Overloads Function QueryStatistics( _
   ByVal includeSql As Boolean, _
   ByVal forAllUsers As Boolean _
) As MimerMonitorInstance()
public function QueryStatistics( 
    includeSql: Boolean;
    forAllUsers: Boolean
): array of MimerMonitorInstance; 
public function QueryStatistics( 
   includeSql : boolean,
   forAllUsers : boolean
) : MimerMonitorInstance[];

Parameters

includeSql
When true the system will also include the actual SQL statements.
forAllUsers
Whether to request information for all users or only current user.

Return Value

An array of MimerMonitorInstances.
Remarks
A user can only retrieve the SQL that it has compiled in the server. Only SYSADM can retrieve SQL statements for any user.
Requirements

.NET Framework
Version 2.0 or later

See Also

Reference

MimerMonitor Class
MimerMonitor Members
Overload List