sp_resetsnapshotdeliveryprogress (Transact-SQL)
Sıfırlar anlık görüntü teslim işlemek için çekme temelli abonelik bu nedenle, anlık görüntü teslimi yeniden başlatılabilir.abonelik veritabanı abonelik sırasında yürütüldü.
sp_resetsnapshotdeliveryprogress [ [ @verbose_level = ] verbose_level ]
[ , [ @drop_table = ] 'drop_table' ]
Bağımsız değişkenler
[ @verbose_level= ] verbose_level
Specifies the amount of information returned.verbose_levelis int, with a default of 1.Değeri 1 gereken kilit alınamıyor, üzerinde bir hata döndürdü anlamına gelir.MSsnapshotdeliveryprogress tablo ve 0 hata verdiğini gösterir.[ @ drop_table= ] 'drop_table'
Is whether to drop or truncate the table containing information on the progress of the snapshot.drop_table is nvarchar(5), with a default of FALSE.false means that the table is truncated, and true means the table is dropped.
Dönüş Kodu Değerleri
0 (başarılı) veya 1 (hata)
Remarks
sp_resetsnapshotdeliveryprogress tüm satırları kaldırır.MSsnapshotdeliveryprogress tablo.Bu etkin bir şekilde kaldırır tarafından anında teslim işlemlerinde yapılan herhangi bir önceki ilerleme abonelik veritabanına meta veriler geride.
İzinler
Yalnızca üyeleri sysadmin sabit sunucu rolü veya db_owner sabit veritabanı rolü çalıştırabilirsinizsp_resetsnapshotdeliveryprogress.