Compartir a través de


SqlDatabaseAdvisorCollection.GetAsync(String, CancellationToken) Método

Definición

Obtiene un asesor de bases de datos.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/advisors/{advisorName}
  • IdDatabaseAdvisors_Get de operaciones
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Sql.SqlDatabaseAdvisorResource>> GetAsync (string advisorName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Sql.SqlDatabaseAdvisorResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Sql.SqlDatabaseAdvisorResource>>
Public Overridable Function GetAsync (advisorName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of SqlDatabaseAdvisorResource))

Parámetros

advisorName
String

Nombre del Asesor de bases de datos.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

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

advisorName es null.

Se aplica a