Partager via


DataShareResource.GetDataShareSynchronizationSettingAsync Méthode

Définition

Obtenir une synchronisationParamètre dans un partage

  • Chemin/abonnements de la demande/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shares/{shareName}/synchronizationSettings/{synchronizationSettingName}
  • IdSynchronizationSettings_Get d’opération
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DataShare.DataShareSynchronizationSettingResource>> GetDataShareSynchronizationSettingAsync (string synchronizationSettingName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetDataShareSynchronizationSettingAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DataShare.DataShareSynchronizationSettingResource>>
override this.GetDataShareSynchronizationSettingAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DataShare.DataShareSynchronizationSettingResource>>
Public Overridable Function GetDataShareSynchronizationSettingAsync (synchronizationSettingName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of DataShareSynchronizationSettingResource))

Paramètres

synchronizationSettingName
String

Nom de la synchronisationSetting.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

synchronizationSettingName est une chaîne vide, et on s’attendait à ce qu’elle ne soit pas vide.

synchronizationSettingName a la valeur null.

S’applique à