Partager via


PublisherFailoverPartner propriété

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

Espace de noms :  Microsoft.SqlServer.Replication
Assembly :  Microsoft.SqlServer.Replication (dans Microsoft.SqlServer.Replication.dll)

Syntaxe

'Déclaration
Public Overridable Property PublisherFailoverPartner As String
    Get
    Set
'Utilisation
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)

Valeur de la propriété

Type : System. . :: . .String
A String value.

Implémente

IMergeSynchronizationAgent. . :: . .PublisherFailoverPartner

Notes

This property is used to support replication with database mirroring. For more information, see Réplication et mise en miroir des bases de données.