sp_dropmergealternatepublisher (języka Transact-SQL)

Alternatywny Wydawca usuwa z publikacja korespondencji seryjnej.Ta procedura składowana jest wykonywany przez subskrybenta na baza danych subskrypcja.

Ikona łącza do tematuKonwencje składni Transact-SQL

Składnia

sp_dropmergealaternatepublisher [ @publisher = ] 'publisher'    , [ @publisher_db = ] 'publisher_db'    , [ @publication = ] 'publication'    , [ @alternate_publisher = ] 'alternate_publisher'    , [ @alternate_publisher_db = ] 'alternate_publisher_db'    , [ @alternate_publication = ] 'alternate_publication'

Argumenty

  • [ @ publisher = 'publisher"
    Is the name of the current Publisher.publisheris sysname, with no default.

  • [ @ publisher_db = 'publisher_db"
    Is the name of the current publication database.publisher_dbis sysname, with no default.

  • [ @ publikacja = 'publication"
    Is the name of the current publication.publication is sysname, with no default.

  • [ @ alternate_publisher = 'alternate_publisher"
    Is the name of the alternate Publisher to drop as the alternate synchronization partner.alternate_publisheris sysname, with no default.

  • [ @ alternate_publisher_db = 'alternate_publisher_db"
    Is the name of the publication database to drop as the alternate synchronization partner publication database.alternate_publisher_dbis sysname, with no default.

  • [ @ alternate_publication = 'alternate_publication"
    Is the name of the publication to drop as the alternate synchronization partner publication.alternate_publicationis sysname, with no default.

Wartości kodów powrotnych

0 (sukces) lub 1 (błąd)

Uwagi

sp_dropmergealternatepublisher używane w replikacja scalająca.

Uprawnienia

Tylko członkowie sysadmin stała rola serwera lub db_owner ustaloną rola bazy danych można wykonać sp_dropmergelternatepublisher.