DataServiceQuery.Execute 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
對資料服務執行查詢。
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 請求。