Share via


TransSynchronizationAgent Constructor

Creates an instance of the TransSynchronizationAgent class.

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

Syntax

'Declaration
Public Sub New
'Usage

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

Remarks

The recommended method for creating an instance of TransSynchronizationAgent for a pull subscription is from the SynchronizationAgent property of an existing Replication Management Objects (RMO) TransPullSubscription object.

The recommended method for creating an instance of TransSynchronizationAgent for a push subscription is from the SynchronizationAgent property of an existing RMO TransSubscription object.