Delen via


MergeSynchronizationAgent Constructor

Creates an instance of the MergeSynchronizationAgent class.

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

Syntax

'Declaration
Public Sub New
'Usage

Dim instance As New MergeSynchronizationAgent()
public MergeSynchronizationAgent()
public:
MergeSynchronizationAgent()
new : unit -> MergeSynchronizationAgent
public function MergeSynchronizationAgent()

Remarks

The recommended method for instantiating MergeSynchronizationAgent for a pull subscription is from the SynchronizationAgent property of an existing Replication Management Objects (RMO) MergePullSubscription object.

The recommended method for instantiating MergeSynchronizationAgent for a push subscription is from the SynchronizationAgent property of an existing RMO MergeSubscription object.