다음을 통해 공유


IWithReadWriteEndpointPolicy.WithAutomaticReadWriteEndpointPolicyAndDataLossGracePeriod Method

Definition

Sets the SQL Failover Group read-write endpoint failover policy as "Automatic".

public Microsoft.Azure.Management.Sql.Fluent.SqlFailoverGroup.Update.IUpdate WithAutomaticReadWriteEndpointPolicyAndDataLossGracePeriod (int gracePeriodInMinutes);
abstract member WithAutomaticReadWriteEndpointPolicyAndDataLossGracePeriod : int -> Microsoft.Azure.Management.Sql.Fluent.SqlFailoverGroup.Update.IUpdate
Public Function WithAutomaticReadWriteEndpointPolicyAndDataLossGracePeriod (gracePeriodInMinutes As Integer) As IUpdate

Parameters

gracePeriodInMinutes
Int32

The grace period before failover with data loss is attempted for the read-write endpoint.

Returns

Applies to