Condividi tramite


Metodo TransPullSubscription.StopSynchronizationJob

Attempts to stop a running Distribution Agent job that is currently synchronizing the subscription.

Spazio dei nomi  Microsoft.SqlServer.Replication
Assembly:  Microsoft.SqlServer.Rmo (in Microsoft.SqlServer.Rmo.dll)

Sintassi

'Dichiarazione
Public Overrides Sub StopSynchronizationJob
'Utilizzo
Dim instance As TransPullSubscription

instance.StopSynchronizationJob()
public override void StopSynchronizationJob()
public:
virtual void StopSynchronizationJob() override
abstract StopSynchronizationJob : unit -> unit  
override StopSynchronizationJob : unit -> unit
public override function StopSynchronizationJob()

Osservazioni

The StopSynchronizationJob method can only be called by members of the sysadmin fixed server role at the Subscriber or by members of the db_owner fixed database role on the subscription database.

Vedere anche

Riferimento

TransPullSubscription Classe

Spazio dei nomi Microsoft.SqlServer.Replication