Compartilhar via


SynapseDataConnectionCollection.GetAsync(String, CancellationToken) Método

Definição

Retorna uma conexão de dados.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/kustoPools/{kustoPoolName}/databases/{databaseName}/dataConnections/{dataConnectionName}
  • Operação IdKustoPoolDataConnections_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Synapse.SynapseDataConnectionResource>> GetAsync (string dataConnectionName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Synapse.SynapseDataConnectionResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Synapse.SynapseDataConnectionResource>>
Public Overridable Function GetAsync (dataConnectionName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of SynapseDataConnectionResource))

Parâmetros

dataConnectionName
String

O nome da conexão de dados.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

dataConnectionName é uma cadeia de caracteres vazia e esperava-se que não estivesse vazia.

dataConnectionName é nulo.

Aplica-se a