Partager via


SqlServerResource.GetSqlServerAdvisor(String, CancellationToken) Méthode

Définition

Obtient un conseiller de serveur.

  • Chemin/abonnements de la demande/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/advisors/{advisorName}
  • IdServerAdvisors_Get d’opération
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)

Paramètres

advisorName
String

Nom de l’Conseiller serveur.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

advisorName est une chaîne vide, et on s’attendait à ce qu’elle ne soit pas vide.

advisorName a la valeur null.

S’applique à