This topic has not yet been rated - Rate this topic

CloudTable.ExecuteQuery Method (TableQuery, TableRequestOptions, OperationContext)

Executes a query on a table, using the specified TableRequestOptions and OperationContext.

Namespace: Microsoft.WindowsAzure.Storage.Table
Assembly: Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)
'Usage
Dim instance As CloudTable
Dim query As TableQuery(Of TElement)
Dim requestOptions As TableRequestOptions
Dim operationContext As OperationContext
Dim returnValue As IEnumerable(Of TElement)

returnValue = instance.ExecuteQuery(query, requestOptions, operationContext)
[DoesServiceRequest] 
public IEnumerable<TElement> ExecuteQuery<TElement> (
	TableQuery<TElement> query,
	[OptionalAttribute] TableRequestOptions requestOptions,
	[OptionalAttribute] OperationContext operationContext
) where TElement : ITableEntity

GenericParameters

TElement

The entity type of the query.

Parameters

query

A TableQuery instance specifying the table to query and the query parameters to use, specialized for a type T implementing TableEntity.

requestOptions

A TableRequestOptions object that specifies execution options, such as retry policy and timeout settings, for the operation.

operationContext

An OperationContext object for tracking the current operation.

Return Value

An enumerable collection, specialized for type TElement, of the results of executing the query.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows Vista, Windows 7 and Windows Server 2008

Target Platforms

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.
facebook page visit twitter rss feed newsletter