Udostępnij za pośrednictwem


sp_dropmergepullsubscription (Transact-SQL)

Scalanie spadnie subskrypcja wciągana.Ta procedura przechowywana jest wykonywany przez subskrybent do baza danych subskrypcja.

Topic link iconKonwencje składni języka Transact-SQL

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

Argumenty

  • [ @publication=] 'publication'
    Is the name of the publication.publication is sysname, with a default of NULL.Ten parametr jest wymagany.Podaj wartość wszystkie , aby usunąć subskrypcję wszystkich publikacji

  • [ @publisher=] 'publisher'
    Is the name of the Publisher.publisheris sysname, with a default of NULL.Ten parametr jest wymagany.

  • [ @publisher_db=] 'publisher_db'
    Is the name of the Publisher database.publisher_dbis sysname, with a default of NULL.Ten parametr jest wymagany.

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

Wartości kodów powrotnych

0 (sukces) lub 1 (brak)

Remarks

sp_dropmergepullsubscription jest używane w korespondencji seryjnej replikacja.

sp_dropmergepullsubscription spadnie Agent korespondencji seryjnej dla tej subskrypcja ściąganej korespondencji seryjnej, ale agent korespondencji seryjnej nie jest tworzony w sp_addmergepullsubscription.

Uprawnienia

Tylko członkowie sysadmin roli serwera lub użytkownika, który utworzył korespondencji seryjnej subskrypcja wciągana mogą być wykonać sp_dropmergepullsubscription.The db_owner fixed rola bazy danych is only able to wykonać sp_dropmergepullsubscription if the user that created the merge ściągać subskrypcja belongs to this role.