Share via


AgentCore.PublisherFailoverPartner Property

Gets or sets the failover partner instance of SQL Server 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 Property PublisherFailoverPartner As String 
    Get 
    Set
'Usage
Dim instance As AgentCore 
Dim value As String 

value = instance.PublisherFailoverPartner

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

Property Value

Type: System.String
The failover partner.

Remarks

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

See Also

Reference

AgentCore Class

Microsoft.SqlServer.Replication Namespace