Partager via


SqlDatabaseResource.GetSqlDatabaseAdvisor(String, CancellationToken) Méthode

Définition

Obtient un conseiller de base de données.

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

Paramètres

advisorName
String

Nom du Conseiller de base de données.

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 à