MergePublication.GetMergeDynamicSnapshotJobScheduleWithJobName(String) Method

Definition

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

public:
 Microsoft::SqlServer::Replication::ReplicationAgentSchedule ^ GetMergeDynamicSnapshotJobScheduleWithJobName(System::String ^ dynamicSnapshotJobName);
public Microsoft.SqlServer.Replication.ReplicationAgentSchedule GetMergeDynamicSnapshotJobScheduleWithJobName (string dynamicSnapshotJobName);
member this.GetMergeDynamicSnapshotJobScheduleWithJobName : string -> Microsoft.SqlServer.Replication.ReplicationAgentSchedule
Public Function GetMergeDynamicSnapshotJobScheduleWithJobName (dynamicSnapshotJobName As String) As ReplicationAgentSchedule

Parameters

dynamicSnapshotJobName
String

The job name.

Returns

The schedule for the Snapshot Agent job that generates the filtered data partition for a Subscriber.

Remarks

Calling GetMergeDynamicSnapshotJobScheduleWithJobName is equivalent to executing sp_helpdynamicsnapshot_job.

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