Share via


sp_MSchange_logreader_agent_properties (Transact-SQL)

Changes the properties of a Log Reader Agent job that runs at a Microsoft SQL Server 2005 or later version Distributor.Bu saklı yordam yayımcı çalıştığında özelliklerini değiştirmek için kullanılan bir örnek , SQL Server 2000.Bu saklı yordam dağıtım veritabanı üzerinde dağıtımcı adresindeki yürütülür.

Konu bağlantısı simgesiTransact-sql sözdizimi kuralları

Sözdizimi

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'

Bağımsız değişkenler

  • [ @ 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 belirtir SQL Server kimlik doğrulaması.

    1 Windows kimlik doğrulamasının kullanılacağını belirtir.

  • [ @ 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.If publisher_login is NULL and publisher_security_mode is 1, then the Windows account specified in job_login will be used when connecting to the Publisher.

  • [ 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.Bu olmayan bir değiştirilemez-SQL Server publisher.

  • [ @ 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.

    Değer

    Açıklama

    MSSQLSERVER

    Belirtir bir SQL Server Yayımcı.

    ORACLE

    Standart bir Oracle Yayımcı belirtir.

    ORACLE GATEWAY

    Bir Oracle Gateway Yayımcı belirtir.

    Oracle Yayımcı ve bir Oracle Gateway Yayımcı arasındaki farklar hakkında daha fazla bilgi için bkz: Oracle Özet yayımlama.

Açıklamalar

sp_MSchange_logreader_agent_properties 'deki işlem çoğaltma kullanılır.

Yürütürken tüm parametreleri belirtmelisiniz sp_MSchange_logreader_agent_properties.Yürütme sp_helplogreader_agent (Transact-SQL) için dönüş geçerli özelliklerini Günlük Okuyucu Aracısı iş.

Bir Aracısı oturum açma veya parola değiştirdikten sonra durdurmak ve değişikliğin etkili olabilmesi için aracı yeniden gerekir.

Ne zaman yayımcı üzerinde çalıştığı bir örnek , SQL Server 2005 veya sonraki bir sürüm kullanmalısınız sp_changelogreader_agent Günlük Okuyucu Aracısı özelliklerini değiştirmek için.

İzinler

Yalnızca üyeleri sysadmin sabit sunucu rolü at dağıtımcı olabilir yürütmek sp_MSchange_logreader_agent_properties.