Compartir a través de


SqlServerResource.GetSqlServerAdvisor(String, CancellationToken) Método

Definición

Obtiene un asesor del servidor.

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

Parámetros

advisorName
String

Nombre del Asesor del servidor.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

advisorName es una cadena vacía y se esperaba que no estuviera vacía.

advisorName es null.

Se aplica a