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

TableClientConfiguration.UseRestExecutorForCosmosEndpoint 属性

定义

指定在连接到 Cosmos 表服务时是否使用 Rest 执行程序。 设置为 true 时,将通过发送 Http Rest 请求来执行表操作。 设置为 false 时,将使用本机 Cosmos 协议执行表操作。 默认值为 false。 建议默认使用 Cosmos 执行程序,以提高性能和改善延迟。某些 Cosmos DB 特定功能(例如会话一致性)仅在 Cosmos 执行器中使用。

public bool UseRestExecutorForCosmosEndpoint { get; set; }
member this.UseRestExecutorForCosmosEndpoint : bool with get, set
Public Property UseRestExecutorForCosmosEndpoint As Boolean

属性值

适用于