Skip to content

CountAsync Method ​

Definition ​

  • Namespace: JASE.ServiceNow
  • Assembly: JASE.ServiceNow.dll

Task<long> CountAsync(string table, string query = null, ConnectionContext context = null) ​

csharp
Task<long> CountAsync(string table, string query = null, ConnectionContext context = null)

Asynchronously returns the count of records matching a query

Parameters ​

NameDescription
queryEncoded query string
tableName of the table

Returns ​

Count of records matching the query