Partager via


ExchangeType propriété

Gets or sets how data is exchanged during synchronization.

Espace de noms :  Microsoft.SqlServer.Replication
Assembly :  Microsoft.SqlServer.Replication (dans Microsoft.SqlServer.Replication.dll)

Syntaxe

'Déclaration
Public Overridable Property ExchangeType As MergeExchangeType
    Get
    Set
'Utilisation
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)

Implémente

IMergeSynchronizationAgent. . :: . .ExchangeType

Notes

The default value for ExchangeType is BiDirectional()()()().

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