共用方式為


MergePullSubscription.StopSynchronizationJob Method

Definition

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

public:
 override void StopSynchronizationJob();
public override void StopSynchronizationJob ();
override this.StopSynchronizationJob : unit -> unit
Public Overrides Sub StopSynchronizationJob ()

Remarks

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.

Applies to