DataServiceQuery.Execute Method

Executes the query against the data service.

Namespace:  System.Data.Services.Client
Assembly:  Microsoft.Data.Services.Client (in Microsoft.Data.Services.Client.dll)

Public Function Execute As IEnumerable
Dim instance As DataServiceQuery 
Dim returnValue As IEnumerable 

returnValue = instance.Execute()

Return Value

Type: System.Collections.IEnumerable
An IEnumerable(Of T) that contains the results of the query operation.


When the data service returns an HTTP 404: Resource Not Found error.

The Execute method is used to execute the given data service query.

The Execute method generates an HTTP GET request that is set to the data service.