Compartir a través de


SqlDatabaseResource.GetSqlDatabaseAdvisor(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 Azure.Response<Azure.ResourceManager.Sql.SqlDatabaseAdvisorResource> GetSqlDatabaseAdvisor (string advisorName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetSqlDatabaseAdvisor : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Sql.SqlDatabaseAdvisorResource>
override this.GetSqlDatabaseAdvisor : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Sql.SqlDatabaseAdvisorResource>
Public Overridable Function GetSqlDatabaseAdvisor (advisorName As String, Optional cancellationToken As CancellationToken = Nothing) As 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