次の方法で共有


MergeSynchronizationAgent.SyncToAlternate プロパティ

Gets or sets whether the synchronization is to an alternate synchronization partner.

名前空間:  Microsoft.SqlServer.Replication
アセンブリ:  Microsoft.SqlServer.Replication (Microsoft.SqlServer.Replication.dll)

構文

'宣言
Public Overridable Property SyncToAlternate As Boolean 
    Get 
    Set
'使用
Dim instance As MergeSynchronizationAgent 
Dim value As Boolean 

value = instance.SyncToAlternate

instance.SyncToAlternate = value
public virtual bool SyncToAlternate { get; set; }
public:
virtual property bool SyncToAlternate {
    bool get ();
    void set (bool value);
}
abstract SyncToAlternate : bool with get, set 
override SyncToAlternate : bool with get, set
function get SyncToAlternate () : boolean 
function set SyncToAlternate (value : boolean)

プロパティ値

型: System.Boolean
True if the synchronization is to an alternate synchronization partner; otherwise, false.

実装

IMergeSynchronizationAgent.SyncToAlternate

説明

The Alternate Synchronization Partners feature for merge replication has been deprecated.

To select an alternate synchronization partner, the Publisher, PublisherDatabase, Publication, and Distributor properties should be set to the corresponding property values of an instance of the AlternateSynchronizationPartner class before the Synchronize method is called.

関連項目

参照

MergeSynchronizationAgent クラス

Microsoft.SqlServer.Replication 名前空間