다음을 통해 공유


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 네임스페이스