Freigeben über


SyncGroupCollection.GetAsync(String, CancellationToken) Methode

Definition

Ruft eine Synchronisierungsgruppe ab.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/syncGroups/{syncGroupName}
  • Vorgang IdSyncGroups_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Sql.SyncGroupResource>> GetAsync (string syncGroupName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Sql.SyncGroupResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Sql.SyncGroupResource>>
Public Overridable Function GetAsync (syncGroupName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of SyncGroupResource))

Parameter

syncGroupName
String

Der Name der Synchronisierungsgruppe.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

syncGroupName ist eine leere Zeichenfolge und wurde erwartet, dass sie nicht leer ist.

syncGroupName ist NULL.

Gilt für: