共用方式為


IWithReadWriteEndpointPolicy.WithAutomaticReadWriteEndpointPolicyAndDataLossGracePeriod Method

Definition

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

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

Parameters

gracePeriodInMinutes
Int32

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

Returns

Applies to