MergePublication.ChangeMergeDynamicSnapshotJobScheduleWithJobId 메서드

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

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

public void ChangeMergeDynamicSnapshotJobScheduleWithJobId(
	string dynamicSnapshotJobId,
	ReplicationAgentSchedule schedule

매개 변수

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

Calling ChangeMergeDynamicSnapshotJobScheduleWithJobId is equivalent to executing sp_changedynamicsnapshot_job.

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

커뮤니티 추가 항목