Compartilhar via


DataShareSynchronizationSettingCollection.GetAsync Método

Definição

Obter uma synchronizationSetting em um compartilhamento

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shares/{shareName}/synchronizationSettings/{synchronizationSettingName}
  • IdSynchronizationSettings_Get de operação
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DataShare.DataShareSynchronizationSettingResource>> GetAsync (string synchronizationSettingName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DataShare.DataShareSynchronizationSettingResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DataShare.DataShareSynchronizationSettingResource>>
Public Overridable Function GetAsync (synchronizationSettingName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of DataShareSynchronizationSettingResource))

Parâmetros

synchronizationSettingName
String

O nome da synchronizationSetting.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

synchronizationSettingName é uma cadeia de caracteres vazia e era esperado que não estivesse vazio.

synchronizationSettingName é nulo.

Aplica-se a