sp_requestpeertopologyinfo (języka Transact-SQL)

Wypełnienie MSpeer_topologyresponse systemu tabela z informacjami o peer-to-peer replikacja transakcyjna topologii.Wykonanie sp_gettopologyinfo uzyskać informacji z tabela w formacie XML.

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

Składnia

sp_requestpeertopologyinfo [ @publication = ] 'publication'
        [ ,[ @requestid=] request_id OUTPUT

Argumenty

  • [ @publication= ] 'publication'
    Is the name of the publication for which to perform a topology-wide status request.publication is sysname, with no default.

  • [ @request_id= ] request_id
    Is the ID number that is assigned to the topology status request.request_id is int, with a default of NULL.Ten identyfikator może być używany przez sp_gettopologyinfo.

Wartości kodów powrotnych

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

Uwagi

sp_requestpeertopologyinfo używane w peer-to-peer replikacja transakcyjna.Wykonanie sp_requestpeertopologyinfo przed wykonaniem sp_gettopologyinfo.Procedury te są używane przez Kreatora konfiguracji Peer-to-Peer topologii, ale te można również bezpośrednio jeżeli wymagają topologii informacje w formacie XML.Jeśli wolisz tabelarycznych wyniki kwerendy MSpeer_topologyresponse tabela systemowa.

Uprawnienia

Wymaga członkostwa w sysadmin stała rola serwera lub db_owner stałe rola bazy danych.