SqlConnectionStringBuilder.MultiSubnetFailover 屬性

定義

如果您的應用程式連線到 Always On 可用性群組 (AG) 或 Always On 故障轉移叢集實例 (不同子網上的 FCI) ,則設定 MultiSubnetFailover=true 可提供目前) 作用中伺服器 (的更快速偵測和連線。 如需 Always On 功能之 SqlClient 支援的詳細資訊,請參閱高可用性、災害復原的 SqlClient 支援

public:
 property bool MultiSubnetFailover { bool get(); void set(bool value); };
public bool MultiSubnetFailover { get; set; }
member this.MultiSubnetFailover : bool with get, set
Public Property MultiSubnetFailover As Boolean

屬性值

傳回表示目前屬性值的 Boolean

適用於

另請參閱