Partilhar via


SqlMigrationServiceCollection.GetAsync(String, CancellationToken) Método

Definição

Recuperar o Serviço de Migração de Banco de Dados

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/sqlMigrationServices/{sqlMigrationServiceName}
  • IdSqlMigrationServices_Get de operação
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DataMigration.SqlMigrationServiceResource>> GetAsync (string sqlMigrationServiceName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DataMigration.SqlMigrationServiceResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DataMigration.SqlMigrationServiceResource>>
Public Overridable Function GetAsync (sqlMigrationServiceName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of SqlMigrationServiceResource))

Parâmetros

sqlMigrationServiceName
String

Nome do Serviço de Migração de SQL.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

sqlMigrationServiceName é uma cadeia de caracteres vazia e era esperado que não estivesse vazio.

sqlMigrationServiceName é nulo.

Aplica-se a