Share via


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
public virtual MergeExchangeType ExchangeType { get; set; }
public:
virtual property MergeExchangeType ExchangeType {
    MergeExchangeType get ();
    void set (MergeExchangeType newValue);
}
/** @property */
public MergeExchangeType get_ExchangeType ()

/** @property */
public void set_ExchangeType (MergeExchangeType newValue)
public function get ExchangeType () : MergeExchangeType

public function set ExchangeType (newValue : MergeExchangeType)

Property Value

A MergeExchangeType value.

Remarks

The default value for ExchangeType is BiDirectional.

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

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

MergeSynchronizationAgent Class
MergeSynchronizationAgent Members
Microsoft.SqlServer.Replication Namespace