MergeSynchronizationAgent.ExchangeType Property

Gets or sets how data is exchanged during synchronization.

Namespace:  Microsoft.SqlServer.Replication
Assembly:  Microsoft.SqlServer.Replication (in Microsoft.SqlServer.Replication.dll)

Syntax

'Declaration
Public Overridable Property ExchangeType As MergeExchangeType
    Get
    Set
'Usage
Dim instance As MergeSynchronizationAgent
Dim value As MergeExchangeType

value = instance.ExchangeType

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

Implements

IMergeSynchronizationAgent.ExchangeType

Remarks

The default value for ExchangeType is BiDirectional().

You must specify BiDirectional() for ExchangeType when you are using Web synchronization.