Udostępnij za pośrednictwem


MergePublication.GetMergeDynamicSnapshotJobScheduleWithJobId(String) Method

Definition

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.

Applies to

See also