PullSubscription.StopSynchronizationJob Method

Definition

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

public:
 abstract void StopSynchronizationJob();
public abstract void StopSynchronizationJob ();
abstract member StopSynchronizationJob : unit -> unit
Public MustOverride Sub StopSynchronizationJob ()

Remarks

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.

Applies to