MergeDynamicSnapshotJob Object
Esse recurso será removido em uma versão futura do Microsoft SQL Server. Evite usar esse recurso em desenvolvimentos novos e planeje modificar os aplicativos que atualmente o utilizam.
The MergeDynamicSnapshotJob object represents a dynamic snapshot job that is part of a merge publication.
Properties
Comentários
With the MergeDynamicSnapshotJob object, you can:
Add a dynamic snapshot job to a merge publication.
Set the properties of a dynamic snapshot job prior to its creation.
Remove a dynamic snapshot job from a merge publication.
To add a dynamic snapshot job to a merge publication
Create a new MergeDynamicSnapshotJob object.
Optionally set the Name property, specifying a name that is unique among all job names at the Distributor.
Set the DynamicFilterHostName property to the name of a Subscriber.
Set the DynamicFilterLogin property to the login ID of a Subscriber.
Set the DynamicSnapshotLocation property to the path where the dynamic snapshot files are generated.
Add the MergeDynamicSnapshotJob object to the MergeDynamicSnapshotJobs collection of a connected MergePublication object.
Observação If the Name property is not set, a default name is generated in the form of dyn_ + (job name of the regular snapshot job of the publication) + string GUID.
To remove a dynamic snapshot job from a merge publication
Get a MergeDynamicSnapshotJob object from the MergeDynamicSnapshotJobs collection of a connected MergePublication object.
Use the Remove method to remove the dynamic snapshot job.
Observação The MergeDynamicSnapshotJob object is only compatible with instances of Microsoft SQL Server 2000 and later.