Skip to content

GetAllAsync Method ​

Definition ​

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

Overloads ​

NameDescription
Task<TableApiResult> GetAllAsync(string table, string query = null, IEnumerable<string> fields = null)Return all entries matching the query from the SNOW table in a loop
Task<TableApiResult> GetAllAsync(string table, TableReadOptions options, ConnectionContext context = null, CancellationToken cancellationToken = null)Returns all pages matching options, following Link headers until exhausted.
Task<TableApiResult> GetAllAsync(string table, string query, IEnumerable<string> fields, ConnectionContext context, CancellationToken cancellationToken = null)Return all entries matching the query from the SNOW table in a loop

Task<TableApiResult> GetAllAsync(string table, TableReadOptions options, ConnectionContext context = null, CancellationToken cancellationToken = null) ​

csharp
Task<TableApiResult> GetAllAsync(string table, TableReadOptions options, ConnectionContext context = null, CancellationToken cancellationToken = null)

Returns all pages matching options, following Link headers until exhausted.

Parameters ​

NameDescription
cancellationTokenCancellation token.
contextOptional connection context.
optionsRead options. Prefer Lean.
tableTable name.

Returns ​

Instance of TableApiResult with merged pages.

Task<TableApiResult> GetAllAsync(string table, string query = null, IEnumerable<string> fields = null) ​

csharp
Task<TableApiResult> GetAllAsync(string table, string query = null, IEnumerable<string> fields = null)

Return all entries matching the query from the SNOW table in a loop

Returns ​

Instance of TableApiResult

Task<TableApiResult> GetAllAsync(string table, string query, IEnumerable<string> fields, ConnectionContext context, CancellationToken cancellationToken = null) ​

csharp
Task<TableApiResult> GetAllAsync(string table, string query, IEnumerable<string> fields, ConnectionContext context, CancellationToken cancellationToken = null)

Return all entries matching the query from the SNOW table in a loop

Returns ​

Instance of TableApiResult