MergePublication.ChangeMergeDynamicSnapshotJobScheduleWithJobNameForLateBoundComClients Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.