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

IWithReadWriteEndpointPolicy.WithAutomaticReadWriteEndpointPolicyAndDataLossGracePeriod 方法

定义

将 SQL 故障转移组读写终结点故障转移策略设置为“自动”。

public Microsoft.Azure.Management.Sql.Fluent.SqlFailoverGroupOperations.Definition.IWithPartnerServer WithAutomaticReadWriteEndpointPolicyAndDataLossGracePeriod (int gracePeriodInMinutes);
abstract member WithAutomaticReadWriteEndpointPolicyAndDataLossGracePeriod : int -> Microsoft.Azure.Management.Sql.Fluent.SqlFailoverGroupOperations.Definition.IWithPartnerServer
Public Function WithAutomaticReadWriteEndpointPolicyAndDataLossGracePeriod (gracePeriodInMinutes As Integer) As IWithPartnerServer

参数

gracePeriodInMinutes
Int32

尝试对读写终结点执行故障转移之前数据丢失的宽限期。

返回

适用于