Compartir a través de


PullSubscription.StopSynchronizationJob Método

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

Espacio de nombres:  Microsoft.SqlServer.Replication
Ensamblado:  Microsoft.SqlServer.Rmo (en Microsoft.SqlServer.Rmo.dll)

Sintaxis

'Declaración
Public MustOverride Sub StopSynchronizationJob
'Uso
Dim instance As PullSubscription

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

Comentarios

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.

Vea también

Referencia

PullSubscription Clase

Espacio de nombres Microsoft.SqlServer.Replication