共用方式為


MergeSynchronizationAgent.PublisherFailoverPartner 屬性

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

命名空間:  Microsoft.SqlServer.Replication
組件:  Microsoft.SqlServer.Replication (在 Microsoft.SqlServer.Replication.dll 中)

語法

'宣告
Public Overridable Property PublisherFailoverPartner As String 
    Get 
    Set
'用途
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)

屬性值

型別:System.String
The failover partner instance of SQL Server.

實作

IMergeSynchronizationAgent.PublisherFailoverPartner

備註

This property is used to support replication with database mirroring. For more information, see 資料庫鏡像和複寫 (SQL Server).

請參閱

參考

MergeSynchronizationAgent 類別

Microsoft.SqlServer.Replication 命名空間