Compartir a través de


SqlServerAdvisorCollection.Get(String, CancellationToken) Método

Definición

Obtiene un asesor de servidores.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/advisors/{advisorName}
  • IdServerAdvisors_Get de operación
public virtual Azure.Response<Azure.ResourceManager.Sql.SqlServerAdvisorResource> Get (string advisorName, System.Threading.CancellationToken cancellationToken = default);
abstract member Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Sql.SqlServerAdvisorResource>
override this.Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Sql.SqlServerAdvisorResource>
Public Overridable Function Get (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 espera que no esté vacía.

advisorName es null.

Se aplica a