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.Ta procedura przechowywana jest używana do zmiany właściwości podczas na wystąpienie Wydawca SQL Server 2000. Ta procedura przechowywana jest wykonywany na dystrybutor baza danych dystrybucji.
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
[ Wydawca @ = ] "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 Uwierzytelnianie.
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 określone w job_login używane przy nawiązywaniu połączenia 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 różna-SQL ServerWydawca.[ @ 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ść
Description
MSSQLSERVER
Określa, SQL Server Wydawca.
ORACLE
Określa standardowy wydawca bazy danych Oracle.
BRAMA ORACLE
Określa Wydawca Gateway bazy danych Oracle.
Aby uzyskać więcej informacji na temat różnic między Oracle Wydawca i Wydawca Gateway bazy danych Oracle zobacz Omówienie publikowania programu Oracle.
Remarks
sp_MSchange_logreader_agent_properties jest używany w replikacja transakcyjnej.
Należy określić wszystkie parametry podczas wykonywania sp_MSchange_logreader_agent_properties.wykonać sp_helplogreader_agent (Transact-SQL) Aby przywrócić bieżące właściwości zadanie Agent odczytywania dziennika.
Po zmianie programu agent logowania lub hasła, Zatrzymaj i ponownie uruchomić agenta, zanim zmiana ma wpływ.
Kiedy Wydawca działa na wystąpienie SQL Server 2005 lub nowszej wersja, należy użyć sp_changelogreader_agent, aby zmienić właściwości Agent odczytywania dziennika.
Uprawnienia
Tylko członkowie sysadmin mogą być wykonać w stała rola serwera u dystrybutorsp_MSchange_logreader_agent_properties.
See Also