Bewerken

Delen via


DataServiceQuery.Execute Method

Definition

Executes the query against the data service.

public:
 System::Collections::IEnumerable ^ Execute();
public System.Collections.IEnumerable Execute ();
override this.Execute : unit -> System.Collections.IEnumerable
member this.Execute : unit -> System.Collections.IEnumerable
Public Function Execute () As IEnumerable

Returns

An IEnumerable<T> that contains the results of the query operation.

Exceptions

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

Remarks

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.

Applies to