다음을 통해 공유


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.

The StopSynchronizationJob method is available with SQL Server 2000 and SQL Server 2005.

This namespace, class, or member is supported only in version 2.0 of the .NET Framework.