MergePublication.ChangeMergeDynamicSnapshotJobScheduleWithJobId(String, ReplicationAgentSchedule) MergePublication.ChangeMergeDynamicSnapshotJobScheduleWithJobId(String, ReplicationAgentSchedule) MergePublication.ChangeMergeDynamicSnapshotJobScheduleWithJobId(String, ReplicationAgentSchedule) Method

Definition

Modifies the schedule for the Snapshot Agent job that generates the filtered data partition for a Subscriber, based on the job ID.

public:
 void ChangeMergeDynamicSnapshotJobScheduleWithJobId(System::String ^ dynamicSnapshotJobId, Microsoft::SqlServer::Replication::ReplicationAgentSchedule ^ schedule);
public void ChangeMergeDynamicSnapshotJobScheduleWithJobId (string dynamicSnapshotJobId, Microsoft.SqlServer.Replication.ReplicationAgentSchedule schedule);
Public Sub ChangeMergeDynamicSnapshotJobScheduleWithJobId (dynamicSnapshotJobId As String, schedule As ReplicationAgentSchedule)
Parameters
dynamicSnapshotJobId
String String String

The job ID value.

Remarks

Calling ChangeMergeDynamicSnapshotJobScheduleWithJobId is equivalent to executing sp_changedynamicsnapshot_job.

The ChangeMergeDynamicSnapshotJobScheduleWithJobId method can only be called by members of the sysadmin fixed server role at the Publisher or by members of the db_owner fixed database role on the publication database.

Applies to

See Also