Метод PullSubscription.StopSynchronizationJob
Attempts to stop a running job that is synchronizing the subscription.
Пространство имен: Microsoft.SqlServer.Replication
Сборка: Microsoft.SqlServer.Rmo (в Microsoft.SqlServer.Rmo.dll)
Синтаксис
'Декларация
Public MustOverride Sub StopSynchronizationJob
'Применение
Dim instance As PullSubscription
instance.StopSynchronizationJob()
public abstract void StopSynchronizationJob()
public:
virtual void StopSynchronizationJob() abstract
abstract StopSynchronizationJob : unit -> unit
public abstract function StopSynchronizationJob()
Замечания
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.