MergePublication.ChangeMergeDynamicSnapshotJobScheduleWithJobName 메서드

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

네임스페이스:  Microsoft.SqlServer.Replication
어셈블리:  Microsoft.SqlServer.Rmo(Microsoft.SqlServer.Rmo.dll)

public void ChangeMergeDynamicSnapshotJobScheduleWithJobName(
	string dynamicSnapshotJobName,
	ReplicationAgentSchedule schedule

매개 변수

유형: System.String
The job name value.
유형: Microsoft.SqlServer.Replication.ReplicationAgentSchedule
The new job schedule.

Calling ChangeMergeDynamicSnapshotJobScheduleWithJobName is equivalent to executing sp_changedynamicsnapshot_job.

The ChangeMergeDynamicSnapshotJobScheduleWithJobName 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.