MergePublication.ChangeMergeDynamicSnapshotJobScheduleWithJobIdForLateBoundComClients Method
SQL Server 2012
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.
Namespace: Microsoft.SqlServer.Replication
Assembly: Microsoft.SqlServer.Rmo (in Microsoft.SqlServer.Rmo.dll)
public void ChangeMergeDynamicSnapshotJobScheduleWithJobIdForLateBoundComClients( string dynamicSnapshotJobId, Object schedule )
Parameters
- dynamicSnapshotJobId
- Type: System.String
The job ID value.
- schedule
- Type: System.Object
The new job schedule.
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.
