Metodo PullSubscription.StopSynchronizationJob
Attempts to stop a running job that is synchronizing the subscription.
Spazio dei nomi Microsoft.SqlServer.Replication
Assembly: Microsoft.SqlServer.Rmo (in Microsoft.SqlServer.Rmo.dll)
Sintassi
'Dichiarazione
Public MustOverride Sub StopSynchronizationJob
'Utilizzo
Dim instance As PullSubscription
instance.StopSynchronizationJob()
public abstract void StopSynchronizationJob()
public:
virtual void StopSynchronizationJob() abstract
abstract StopSynchronizationJob : unit -> unit
public abstract function StopSynchronizationJob()
Osservazioni
The StopSynchronizationJob method will raise an exception if the job is not running.
The StopSynchronizationJob method can only be called by members of the db_owner fixed database role on the subscription database.