Partager via


WebSiteSlotResource.UpdateConnectionStringsSlot Méthode

Définition

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

  • Chemin/abonnements de la demande/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/connectionstrings
  • IdWebApps_UpdateConnectionStringsSlot d’opération
public virtual Azure.Response<Azure.ResourceManager.AppService.Models.ConnectionStringDictionary> UpdateConnectionStringsSlot (Azure.ResourceManager.AppService.Models.ConnectionStringDictionary connectionStrings, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateConnectionStringsSlot : Azure.ResourceManager.AppService.Models.ConnectionStringDictionary * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.AppService.Models.ConnectionStringDictionary>
override this.UpdateConnectionStringsSlot : Azure.ResourceManager.AppService.Models.ConnectionStringDictionary * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.AppService.Models.ConnectionStringDictionary>
Public Overridable Function UpdateConnectionStringsSlot (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 à