SearchExtensions.GetSearchServicesAsync 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得指定訂用帳戶中所有搜尋服務的清單。
- 要求路徑/訂用帳戶/{subscriptionId}/providers/Microsoft.Search/searchServices
- 作業IdServices_ListBySubscription
public static Azure.AsyncPageable<Azure.ResourceManager.Search.SearchServiceResource> GetSearchServicesAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.ResourceManager.Search.Models.SearchManagementRequestOptions searchManagementRequestOptions = default, System.Threading.CancellationToken cancellationToken = default);
static member GetSearchServicesAsync : Azure.ResourceManager.Resources.SubscriptionResource * Azure.ResourceManager.Search.Models.SearchManagementRequestOptions * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Search.SearchServiceResource>
<Extension()>
Public Function GetSearchServicesAsync (subscriptionResource As SubscriptionResource, Optional searchManagementRequestOptions As SearchManagementRequestOptions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of SearchServiceResource)
參數
- subscriptionResource
- SubscriptionResource
方法 SubscriptionResource 將對其執行的實例。
- searchManagementRequestOptions
- SearchManagementRequestOptions
參數群組。
- cancellationToken
- CancellationToken
要使用的取消權杖。
傳回
的 SearchServiceResource 非同步集合,可能需要多個服務要求來逐一查看。