Appearance
GetAllAsync Method
Definition
- Namespace:
JASE.ServiceNow - Assembly:
JASE.ServiceNow.dll
Overloads
| Name | Description |
|---|---|
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
| Name | Description |
|---|---|
cancellationToken | Cancellation token. |
context | Optional connection context. |
options | Read options. Prefer Lean. |
table | Table 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