你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

IWithConnectionString<FluentT>.WithConnectionStringStickiness 方法

定义

更改连接字符串的粘性。

public Microsoft.Azure.Management.AppService.Fluent.WebAppBase.Update.IUpdate<FluentT> WithConnectionStringStickiness (string name, bool sticky);
abstract member WithConnectionStringStickiness : string * bool -> Microsoft.Azure.Management.AppService.Fluent.WebAppBase.Update.IUpdate<'FluentT>
Public Function WithConnectionStringStickiness (name As String, sticky As Boolean) As IUpdate(Of FluentT)

参数

name
String

连接字符串的名称。

sticky
Boolean

如果在交换期间连接字符串停留在槽上,则其值为 True。

返回

适用于