Partager via


SqlServerAdvisorCollection.Get(String, CancellationToken) Méthode

Définition

Obtient un conseiller serveur.

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

Paramètres

advisorName
String

Nom de l’Conseiller de serveur.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

advisorName est une chaîne vide et devait être non vide.

advisorName a la valeur null.

S’applique à