语言

你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。

SqlExtensions.GetSyncDatabaseIdsSyncGroupsAsync Method

Definition

Gets a collection of sync database ids. <item> Mocking. To mock this method, please mock GetSyncDatabaseIdsSyncGroupsAsync(AzureLocation, CancellationToken) instead. </item>

public static Azure.AsyncPageable<Azure.ResourceManager.Resources.Models.SubResource> GetSyncDatabaseIdsSyncGroupsAsync(this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation locationName, System.Threading.CancellationToken cancellationToken = default);
static member GetSyncDatabaseIdsSyncGroupsAsync : Azure.ResourceManager.Resources.SubscriptionResource * Azure.Core.AzureLocation * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Resources.Models.SubResource>
<Extension()>
Public Function GetSyncDatabaseIdsSyncGroupsAsync (subscriptionResource As SubscriptionResource, locationName As AzureLocation, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of SubResource)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource the method will execute against.

locationName
AzureLocation

The name of the region where the resource is located.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

A collection of SubResource that may take multiple service requests to iterate over.

Exceptions

subscriptionResource is null.

Applies to