sp_MSchange_logreader_agent_properties (języka Transact-SQL)

Changes the properties of a Log Reader Agent job that runs at a Microsoft SQL Server 2005 or later version Distributor.Ta procedura składowana jest używana do zmiany właściwości po Wydawca działa na wystąpienie SQL Server 2000.Ta procedura składowana jest wykonywany w Rozdzielacz baza danych dystrybucji.

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

Składnia

sp_MSchange_logreader_agent_properties [ @publisher = ] 'publisher'
        , [ @publisher_db = ] 'publisher_db'
        , [ @publisher_security_mode = ] publisher_security_mode
        , [ @publisher_login = ] 'publisher_login'
        , [ @publisher_password = ] 'publisher_password' 
        , [ @job_login = ] 'job_login'
        , [ @job_password = ] 'job_password'
        , [ @publisher_type = ] 'publisher_type'

Argumenty

  • [ program publisher @ =] 'publisher"
    Is the name of the Publisher.publisher is sysname, with no default.

  • [ @publisher_db= ] 'publisher_db'
    Is the name of the publication database.publisher_db is sysname, with no default.

  • [ @ publisher_security_mode=] publisher_security_mode
    Is the security mode used by the agent when connecting to the Publisher.publisher_security_mode is smallint, with no default.

    0 Określa SQL Server uwierzytelniania.

    1 Określa uwierzytelnianie systemu Windows.

  • [ @ publisher_login=] 'publisher_login"
    Is the login used when connecting to the Publisher.publisher_login is sysname, with no default.publisher_login must be specified when publisher_security_mode is 0.Jeśli publisher_login ma wartość NULL i publisher_security_mode jest 1, a następnie konto systemu Windows, określone w job_login będą używane podczas łączenia się z Wydawca.

  • [ @ publisher_password=] 'publisher_password"
    Is the password used when connecting to the Publisher.publisher_password is sysname, with no default.

  • [ @ job_login=] 'job_login"
    Is the login for the Windows account under which the agent runs.job_login is nvarchar(257), with no default.Nie można zmienić dla nie-SQL Server wydawcy.

  • [ @ job_password=] 'job_password"
    Is the password for the Windows account under which the agent runs.job_password is sysname, with no default.

  • [ @ publisher_type=] 'publisher_type"
    Specifies the Publisher type when the Publisher is not running in an instance of SQL Server.publisher_type is sysname, and can be one of the following values.

    Wartość

    Opis

    MSSQLSERVER

    Określa SQL Server Wydawca.

    ORACLE

    Określa standardowy Wydawca Oracle.

    BRAMA ORACLE

    Określa Wydawca bramy Oracle.

    Aby uzyskać więcej informacji o różnicach między Wydawca Oracle i Wydawca bramy Oracle, zobacz Omówienie publikowania Oracle.

Uwagi

sp_MSchange_logreader_agent_properties w replikacja transakcyjna.

Należy określić wszystkie parametry podczas wykonywania sp_MSchange_logreader_agent_properties.Wykonanie sp_helplogreader_agent (języka Transact-SQL) do zwrócenia właściwości bieżącego Agent odczytywania dziennika zadanie.

Po zmianie agent logowania lub hasła, należy zatrzymać i ponownie uruchomić agenta, zanim zmiana zostanie uwzględniona.

Gdy Wydawca działa na wystąpienie SQL Server 2005 lub nowszej wersja, należy użyć sp_changelogreader_agent do zmiany właściwości agenta czytnik dziennika.

Uprawnienia

Tylko członkowie sysadmin stała rola serwera można wykonać na dystrybutora sp_MSchange_logreader_agent_properties.