共用方式為


AgentCore.PublisherFailoverPartner 屬性

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

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

語法

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

屬性值

型別:System.String
The failover partner.

備註

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

請參閱

參考

AgentCore 類別

Microsoft.SqlServer.Replication 命名空間