Compartir a través de


SqlMigrationServiceCollection.GetAsync(String, CancellationToken) Método

Definición

Recuperar el Database Migration Service

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/sqlMigrationServices/{sqlMigrationServiceName}
  • IdSqlMigrationServices_Get de operaciones
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

Nombre del servicio de migración de SQL.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

sqlMigrationServiceName es una cadena vacía y se espera que no esté vacía.

sqlMigrationServiceName es null.

Se aplica a