Udostępnij za pośrednictwem


TableQuery<TElement>.Execute Method

Definition

Executes a query on a table.

public virtual System.Collections.Generic.IEnumerable<TElement> Execute (Microsoft.Azure.Cosmos.Table.TableRequestOptions requestOptions = default, Microsoft.Azure.Cosmos.Table.OperationContext operationContext = default);
abstract member Execute : Microsoft.Azure.Cosmos.Table.TableRequestOptions * Microsoft.Azure.Cosmos.Table.OperationContext -> seq<'Element>
override this.Execute : Microsoft.Azure.Cosmos.Table.TableRequestOptions * Microsoft.Azure.Cosmos.Table.OperationContext -> seq<'Element>
Public Overridable Function Execute (Optional requestOptions As TableRequestOptions = Nothing, Optional operationContext As OperationContext = Nothing) As IEnumerable(Of TElement)

Parameters

requestOptions
TableRequestOptions

A TableRequestOptions object that specifies additional options for the request.

operationContext
OperationContext

An OperationContext object that represents the context for the current operation.

Returns

IEnumerable<TElement>

An enumerable collection, specialized for type TElement, of the results of executing the query.

Applies to