sp_mergesubscription_cleanup (Transact-SQL)
Içindeki gibi girişler, Tetikleyiciler ve tetikleyicilere meta veriler kaldırır. sysmergesubscriptions and sysmergearticles belirtilen birleştirme gönderme temelli abonelik, Yayımcı tarafında kaldırıldıktan sonra.Bu saklı yordam Abone tarafında abonelik veritabanı üzerinde çalışır.
Not
çekme temelli abonelik için meta veriler silinir, sp_dropmergepullsubscription (Transact-SQL) yürütülür.
sp_mergesubscription_cleanup [ @publisher =] 'publisher'
, [ @publisher_db =] 'publisher_db'
, [ @publication =] 'publication'
Bağımsız değişkenler
[ @publisher =] 'publisher'
Is the name of the Publisher.publisher is sysname, with no default.[ @publisher_db =] 'publisher_db'
Is the name of the Publisher database.publisher_db is sysname, with no default.[ @publication =] 'publication'
Is the name of the publication.publication is sysname, with no default.
Dönüş Kodu Değerleri
0 (başarılı) veya 1 (hata)
Remarks
sp_mergesubscription_cleanup birleştirme çoğaltmasında kullanılır.
İzinler
Yalnızca üyeleri sysadmin sabit sunucu rolü veya db_owner sabit veritabanı rolü çalıştırabilirsinizsp_mergesubscription_cleanup.