Aracılığıyla paylaş


sp_dropmergepullsubscription (Transact-SQL)

Bir birleştirme çekme temelli abonelik bırakır.Bu saklı yordam, abonelik veritabanı abonelik sırasında yürütülür.

Topic link iconTransact-SQL sözdizimi kuralları

sp_dropmergepullsubscription [ @publication= ] 'publication' 
        , [ @publisher= ] 'publisher' 
        , [ @publisher_db= ] 'publisher_db' 
    [ , [ @reserved= ] 'reserved' ]

Bağımsız değişkenler

  • [ @publication=] 'publication'
    Is the name of the publication.publication is sysname, with a default of NULL.Bu parametre gereklidir.Bir değer belirtin. tüm tüm yayınlar için abonelikleri kaldırmak için

  • [ @publisher=] 'publisher'
    Is the name of the Publisher.publisheris sysname, with a default of NULL.Bu parametre gereklidir.

  • [ @publisher_db=] 'publisher_db'
    Is the name of the Publisher database.publisher_dbis sysname, with a default of NULL.Bu parametre gereklidir.

  • [ @reserved=] 'reserved'
    Is reserved for future use.reserved is bit, with a default of 0.

Dönüş Kodu Değerleri

0 (başarılı) veya 1 (hata)

Remarks

sp_dropmergepullsubscription birleştirme çoğaltmasında kullanılır.

sp_dropmergepullsubscription Birleştirme Aracısı oluşturulur ancak içinde bu birleştirme çekme temelli abonelik için Birleştirme Aracısı keser.sp_addmergepullsubscription.

İzinler

Yalnızca üyeleri sysadmin sabit sunucu rolü veya birleştirme çekme temelli abonelik oluşturan kullanıcının yürütmek sp_dropmergepullsubscription.The db_owner fixed veritabanı rolü is only able to yürütmek sp_dropmergepullsubscription if the user that created the merge çekme temelli abonelik belongs to this role.