Freigeben über


AgentCore.PublisherFailoverPartner-Eigenschaft

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)

Eigenschaftswert

Typ: System.String
The failover partner.

Hinweise

This property is used to support replication with database mirroring. For more information, see Datenbankspiegelung und Replikation (SQL Server).

Siehe auch

Verweis

AgentCore Klasse

Microsoft.SqlServer.Replication-Namespace