Partager via


TransSynchronizationAgent constructeur

Creates an instance of the TransSynchronizationAgent class.

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

Syntaxe

'Déclaration
Public Sub New
'Utilisation

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

Notes

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.