Freigeben über


SqlDatabaseAdvisorResource.Update(SqlAdvisorData, CancellationToken) Methode

Definition

Updates einen Datenbankratgeber.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/advisors/{advisorName}
  • Vorgang IdDatabaseAdvisors_Update
public virtual Azure.Response<Azure.ResourceManager.Sql.SqlDatabaseAdvisorResource> Update (Azure.ResourceManager.Sql.SqlAdvisorData data, System.Threading.CancellationToken cancellationToken = default);
abstract member Update : Azure.ResourceManager.Sql.SqlAdvisorData * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Sql.SqlDatabaseAdvisorResource>
override this.Update : Azure.ResourceManager.Sql.SqlAdvisorData * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Sql.SqlDatabaseAdvisorResource>
Public Overridable Function Update (data As SqlAdvisorData, Optional cancellationToken As CancellationToken = Nothing) As Response(Of SqlDatabaseAdvisorResource)

Parameter

data
SqlAdvisorData

Der angeforderte Advisor-Ressourcenstatus.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

data ist NULL.

Gilt für: