Mimer SQL Data Provider help 11.0
QueryStatistics(Boolean,Boolean,Int32[]) Method




Mimer.Data.Client Namespace > MimerMonitor Class > QueryStatistics Method : QueryStatistics(Boolean,Boolean,Int32[]) Method
When true the system will also include the actual SQL statements.
Whether to request information for all users or only current user.
An array of SQL identfiers to retrieve information for.
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, _
   ByVal sqlids() As Integer _
) As MimerMonitorInstance()
public function QueryStatistics( 
    includeSql: Boolean;
    forAllUsers: Boolean;
    sqlids: Integerarray of
): array of MimerMonitorInstance; 
public function QueryStatistics( 
   includeSql : boolean,
   forAllUsers : boolean,
   sqlids : int[]
) : 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.
sqlids
An array of SQL identfiers to retrieve information for.

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