MergePublication.ChangeMergeDynamicSnapshotJobScheduleWithJobIdForLateBoundComClients Method

Definition

Allows late-bound COM clients to modify the schedule for the Snapshot Agent job that generates the filtered data partition for a Subscriber, based on the job ID.

public:
 void ChangeMergeDynamicSnapshotJobScheduleWithJobIdForLateBoundComClients(System::String ^ dynamicSnapshotJobId, System::Object ^ schedule);
public void ChangeMergeDynamicSnapshotJobScheduleWithJobIdForLateBoundComClients (string dynamicSnapshotJobId, object schedule);
member this.ChangeMergeDynamicSnapshotJobScheduleWithJobIdForLateBoundComClients : string * obj -> unit
Public Sub ChangeMergeDynamicSnapshotJobScheduleWithJobIdForLateBoundComClients (dynamicSnapshotJobId As String, schedule As Object)

Parameters

dynamicSnapshotJobId
String

The job ID value.

schedule
Object

The new job schedule.

Remarks

Calling ChangeMergeDynamicSnapshotJobScheduleWithJobIdForLateBoundComClients is equivalent to executing sp_changedynamicsnapshot_job.

The ChangeMergeDynamicSnapshotJobScheduleWithJobIdForLateBoundComClients 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