Share via


MergeSynchronizationAgent.PublisherFailoverPartner Property

Gets or sets the failover partner instance of SQL Server that is participating in a database mirroring session with the publication database.

Namespace:  Microsoft.SqlServer.Replication
Assembly:  Microsoft.SqlServer.Replication (in Microsoft.SqlServer.Replication.dll)

Syntax

'Declaration
Public Overridable Property PublisherFailoverPartner As String 
    Get 
    Set
'Usage
Dim instance As MergeSynchronizationAgent 
Dim value As String 

value = instance.PublisherFailoverPartner

instance.PublisherFailoverPartner = value
public virtual string PublisherFailoverPartner { get; set; }
public:
virtual property String^ PublisherFailoverPartner {
    String^ get ();
    void set (String^ value);
}
abstract PublisherFailoverPartner : string with get, set 
override PublisherFailoverPartner : string with get, set
function get PublisherFailoverPartner () : String 
function set PublisherFailoverPartner (value : String)

Property Value

Type: System.String
The failover partner instance of SQL Server.

Implements

IMergeSynchronizationAgent.PublisherFailoverPartner

Remarks

This property is used to support replication with database mirroring. For more information, see Database Mirroring and Replication (SQL Server).

See Also

Reference

MergeSynchronizationAgent Class

Microsoft.SqlServer.Replication Namespace