MergePublication.GetMergeDynamicSnapshotJobScheduleWithJobId(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 ID.
public:
Microsoft::SqlServer::Replication::ReplicationAgentSchedule ^ GetMergeDynamicSnapshotJobScheduleWithJobId(System::String ^ dynamicSnapshotJobId);
public Microsoft.SqlServer.Replication.ReplicationAgentSchedule GetMergeDynamicSnapshotJobScheduleWithJobId (string dynamicSnapshotJobId);
member this.GetMergeDynamicSnapshotJobScheduleWithJobId : string -> Microsoft.SqlServer.Replication.ReplicationAgentSchedule
Public Function GetMergeDynamicSnapshotJobScheduleWithJobId (dynamicSnapshotJobId As String) As ReplicationAgentSchedule
Parameters
- dynamicSnapshotJobId
- String
The job ID value.
Returns
The schedule for the Snapshot Agent job that generates the filtered data partition for a Subscriber.
Remarks
Calling GetMergeDynamicSnapshotJobScheduleWithJobId is equivalent to executing sp_helpdynamicsnapshot_job.
The GetMergeDynamicSnapshotJobScheduleWithJobId 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.