DataServiceQuery.Execute 方法

定義

對資料服務執行查詢。

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

傳回

一個 IEnumerable<T> 包含查詢操作結果的 。

例外狀況

當資料服務回傳 HTTP 404:資源未找到錯誤時,

備註

Execute 方法用於執行給定的資料服務查詢。

Execute 方法會產生一個設定為資料服務的 HTTP GET 請求。

適用於