共用方式為


SqlExtensions.GetSyncDatabaseIdsSyncGroupsAsync Method

Definition

Gets a collection of sync database ids.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Sql/locations/{locationName}/syncDatabaseIds
  • Operation Id: SyncGroups_ListSyncDatabaseIds
  • Default Api Version: 2020-11-01-preview
  • Resource: SyncGroupResource
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 instance 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

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

Exceptions

subscriptionResource is null.

Applies to