Applies To: SQL Server 2014, SQL Server 2016 Preview
Topic Status: Some information in this topic is preview and subject to change in future releases. Preview information describes new features or changes to existing features in Microsoft SQL Server 2016 Community Technology Preview 2 (CTP2).
Modifies the agent job that generates the snapshot for a subscription to a publication with a parameterized row filter. This stored procedure is executed at the Publisher on the publication database.
Is the name of the snapshot job being changed. dynamic_snapshot_jobnameis sysname, with default value of N'%'. If dynamic_snapshot_jobid is specified, you must use the default value for dynamic_snapshot_jobname.
Is the ID of the snapshot job being changed. dynamic_snapshot_jobid is uniqueidentifier, with default value of NULL. If dynamic_snapshot_jobnameis specified, you must use the default value for dynamic_snapshot_jobid.
[ @frequency_type = ] frequency_type
Is the frequency with which to schedule the agent. frequency_type is int, and can be one of the following values.
[ @frequency_interval = ] frequency_interval
The days that the agent runs. frequency_interval is int, and can be one of the following values.
[ @frequency_subday = ] frequency_subday
Is how often to reschedule during the defined period. frequency_subday is int, and can be one of the following values.
Is the time of day when the Merge Agent stops being scheduled, formatted as HHMMSS. active_end_time_of_day is int, with a default of NULL.
[ @job_login= ] 'job_login'
Is the Microsoft Windows Account under which the Snapshot Agent runs when generating the snapshot for a subscription using a parameterized row filter. job_login is nvarchar(257), with a default value of NULL.
[ @job_password= ] 'job_password'
Is the password for the Windows Account under which the Snapshot Agent runs when generating the snapshot for a subscription using a parameterized row filter. job_password is nvarchar(257), with a default value of NULL.
When possible, prompt users to enter security credentials at runtime. If you must store credentials in a script file, you must secure the file to prevent unauthorized access.