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. This stored procedure is used to change properties when the Publisher runs on an instance of SQL Server 2000. This stored procedure is executed at the Distributor on the distribution database.
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'
sp_MSchange_logreader_agent_properties is used in transactional replication.
You must specify all parameters when executing sp_MSchange_logreader_agent_properties. Execute sp_helplogreader_agent (Transact-SQL) to return the current properties of the Log Reader Agent job.
After changing an agent login or password, you must stop and restart the agent before the change takes effect.
When the Publisher runs on an instance of SQL Server 2005 or later version, you should use sp_changelogreader_agent to change properties of the Log Reader Agent.
