Share via


MergePublication.RemoveMergeDynamicSnapshotJob(String) Method

Definition

Removes the specified dynamic snapshot job from the merge publication.

public:
 void RemoveMergeDynamicSnapshotJob(System::String ^ dynamicSnapshotJobName);
public void RemoveMergeDynamicSnapshotJob (string dynamicSnapshotJobName);
member this.RemoveMergeDynamicSnapshotJob : string -> unit
Public Sub RemoveMergeDynamicSnapshotJob (dynamicSnapshotJobName As String)

Parameters

dynamicSnapshotJobName
String

The name of the dynamic snapshot job.

Remarks

Calling RemoveMergeDynamicSnapshotJob is equivalent to executing sp_dropdynamicsnapshot_job.

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