MergePublication.ChangeMergeDynamicSnapshotJobScheduleWithJobNameForLateBoundComClients 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 name.

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

Parameters

dynamicSnapshotJobName
String

The job name value.

schedule
Object

The new job schedule.

Remarks

Calling ChangeMergeDynamicSnapshotJobScheduleWithJobNameForLateBoundComClients is equivalent to executing sp_changedynamicsnapshot_job.

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