Partilhar via


SynapseSqlPoolConnectionPolicyCollection.GetAsync Método

Definição

Obtenha a política de conexão de um pool de Sql, que é usada com a auditoria de tabela.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/connectionPolicies/{connectionPolicyName}
  • Operação IdSqlPoolConnectionPolicies_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Synapse.SynapseSqlPoolConnectionPolicyResource>> GetAsync (Azure.ResourceManager.Synapse.Models.SqlPoolConnectionPolicyName connectionPolicyName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : Azure.ResourceManager.Synapse.Models.SqlPoolConnectionPolicyName * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Synapse.SynapseSqlPoolConnectionPolicyResource>>
override this.GetAsync : Azure.ResourceManager.Synapse.Models.SqlPoolConnectionPolicyName * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Synapse.SynapseSqlPoolConnectionPolicyResource>>
Public Overridable Function GetAsync (connectionPolicyName As SqlPoolConnectionPolicyName, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of SynapseSqlPoolConnectionPolicyResource))

Parâmetros

connectionPolicyName
SqlPoolConnectionPolicyName

O nome da política de conexão.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a