Aracılığıyla paylaş


sp_dropsubscription (Transact-SQL)

Abonelikler için belirli makale, yayın ve abonelikleri kümesi üzerinde yayımcı bırakır.Bu saklı yordam, yayın Veritabanı yayımcısına sırasında yürütülür.

Topic link iconTransact-SQL sözdizimi kuralları

sp_dropsubscription [ [ @publication= ] 'publication' ]
    [ , [ @article= ] 'article' ]
        , [ @subscriber= ] 'subscriber'
    [ , [ @destination_db= ] 'destination_db' ]
    [ , [ @ignore_distributor = ] ignore_distributor ]
    [ , [ @reserved= ] 'reserved' ]

Bağımsız değişkenler

  • [ @publication= ] 'publication'
    Is the name of the associated publication.publication is sysname, with a default of NULL.If all, all subscriptions for all publications for the specified Subscriber are canceled.publication is a required parameter.

  • [ @article= ] 'article'
    Is the name of the article.article is sysname, with a default value of NULL.If tüm, tüm makalelerin her belirtilen yayımlama ve abonelik için abonelik bıraktı.Kullanımı tüm hemen güncelleştirme izin yayınlar için.

  • [ @subscriber= ] 'subscriber'
    Is the name of the Subscriber that will have its subscriptions dropped.subscriber is sysname, with no default.If tümtüm aboneleri için tüm abonelikler bıraktı.

  • [ @destination_db= ] 'destination_db'
    Is the name of the destination database.destination_db is sysname, with a default of NULL.null ise, bu abone'dan tüm abonelikleri bırakılır.

  • [ @ignore_distributor = ] ignore_distributor
    Identified for informational purposes only. Not supported. Future compatibility is not guaranteed.

  • [ @reserved= ] 'reserved'
    Identified for informational purposes only. Not supported. Future compatibility is not guaranteed.

Dönüş Kodu Değerleri

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

Remarks

sp_dropsubscription işlem çoğaltma anlık görüntü de kullanılır.

makale hemen eşitleme yayın abonelik bırakın, yayındaki tüm makaleleri abonelikleri bırakın ve aynı anda tüm geri eklemesini geri sürece eklenemiyor.

İzinler

Yalnızca üyeleri sysadmin sabit sunucu rolüdb_owner sabit veritabanı rolünün veya abonelik için oluşturulan kullanıcı yürütmek sp_dropsubscription.