MergePublication.GetMergeDynamicSnapshotJobScheduleWithJobName(String) 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.
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.