Compartilhar via


ManagedInstanceDtcCollection.GetIfExistsAsync Método

Definição

Tenta obter detalhes para esse recurso do serviço.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/dtc/{dtcName}
  • Operação IdManagedInstanceDtcs_Get
public virtual System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.Sql.ManagedInstanceDtcResource>> GetIfExistsAsync (Azure.ResourceManager.Sql.Models.DtcName dtcName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExistsAsync : Azure.ResourceManager.Sql.Models.DtcName * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.Sql.ManagedInstanceDtcResource>>
override this.GetIfExistsAsync : Azure.ResourceManager.Sql.Models.DtcName * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.Sql.ManagedInstanceDtcResource>>
Public Overridable Function GetIfExistsAsync (dtcName As DtcName, Optional cancellationToken As CancellationToken = Nothing) As Task(Of NullableResponse(Of ManagedInstanceDtcResource))

Parâmetros

dtcName
DtcName

O nome da DTC da instância gerenciada.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a