Compartir a través de


WebSiteSlotResource.UpdateConnectionStringsSlot Método

Definición

Descripción de Reemplaza las cadenas de conexión de una aplicación.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/connectionstrings
  • IdWebApps_UpdateConnectionStringsSlot de operación
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)

Parámetros

connectionStrings
ConnectionStringDictionary

Cadenas de conexión de la aplicación o ranura de implementación. Vea el ejemplo.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

connectionStrings es null.

Se aplica a