Compartilhar via


SynapseDatabaseResource.GetSynapseDataConnectionAsync 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}
  • IdKustoPoolDataConnections_Get de operação
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Synapse.SynapseDataConnectionResource>> GetSynapseDataConnectionAsync (string dataConnectionName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetSynapseDataConnectionAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Synapse.SynapseDataConnectionResource>>
override this.GetSynapseDataConnectionAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Synapse.SynapseDataConnectionResource>>
Public Overridable Function GetSynapseDataConnectionAsync (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 era esperado que não estivesse vazio.

dataConnectionName é nulo.

Aplica-se a