Partager via


WebSiteResource.UpdateConnectionStrings Méthode

Définition

Description pour Remplace les chaînes de connexion d’une application.

  • Chemin de la demande/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/connectionstrings
  • IdWebApps_UpdateConnectionStrings d’opération
public virtual Azure.Response<Azure.ResourceManager.AppService.Models.ConnectionStringDictionary> UpdateConnectionStrings (Azure.ResourceManager.AppService.Models.ConnectionStringDictionary connectionStrings, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateConnectionStrings : Azure.ResourceManager.AppService.Models.ConnectionStringDictionary * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.AppService.Models.ConnectionStringDictionary>
override this.UpdateConnectionStrings : Azure.ResourceManager.AppService.Models.ConnectionStringDictionary * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.AppService.Models.ConnectionStringDictionary>
Public Overridable Function UpdateConnectionStrings (connectionStrings As ConnectionStringDictionary, Optional cancellationToken As CancellationToken = Nothing) As Response(Of ConnectionStringDictionary)

Paramètres

connectionStrings
ConnectionStringDictionary

Chaînes de connexion de l’application ou de l’emplacement de déploiement. Consultez les exemples.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

connectionStrings a la valeur null.

S’applique à