Dela via


SqlConnectionStringBuilder.FailoverPartnerSPN Property

Definition

Gets or sets the service principal name (SPN) of the failover partner for the connection.

public:
 property System::String ^ FailoverPartnerSPN { System::String ^ get(); void set(System::String ^ value); };
public string FailoverPartnerSPN { get; set; }
member this.FailoverPartnerSPN : string with get, set
Public Property FailoverPartnerSPN As String

Property Value

The value of the FailoverPartnerSPN property, or String.Empty if none has been supplied.

Remarks

This property corresponds to the "FailoverPartnerSPN" and "Failover Partner SPN" keys within the connection string.

Note

This property only applies when using Integrated Security mode, otherwise it is ignored.

Applies to