Méthode MergePublication.AddMergeDynamicSnapshotJobForLateBoundComClients
Enables late-bound COM clients to add a Snapshot Agent job that generates the filtered data partition for a Subscriber when a parameterized row filter is used.
Espace de noms : Microsoft.SqlServer.Replication
Assembly : Microsoft.SqlServer.Rmo (en Microsoft.SqlServer.Rmo.dll)
Syntaxe
'Déclaration
Public Sub AddMergeDynamicSnapshotJobForLateBoundComClients ( _
mergeDynamicSnapshotJob As Object, _
schedule As Object _
)
'Utilisation
Dim instance As MergePublication
Dim mergeDynamicSnapshotJob As Object
Dim schedule As Object
instance.AddMergeDynamicSnapshotJobForLateBoundComClients(mergeDynamicSnapshotJob, _
schedule)
public void AddMergeDynamicSnapshotJobForLateBoundComClients(
Object mergeDynamicSnapshotJob,
Object schedule
)
public:
void AddMergeDynamicSnapshotJobForLateBoundComClients(
Object^ mergeDynamicSnapshotJob,
Object^ schedule
)
member AddMergeDynamicSnapshotJobForLateBoundComClients :
mergeDynamicSnapshotJob:Object *
schedule:Object -> unit
public function AddMergeDynamicSnapshotJobForLateBoundComClients(
mergeDynamicSnapshotJob : Object,
schedule : Object
)
Paramètres
- mergeDynamicSnapshotJob
Type : System.Object
The filtered data snapshot job.
- schedule
Type : System.Object
The job schedule.
Notes
Calling AddMergeDynamicSnapshotJobForLateBoundComClients is equivalent to executing sp_adddynamicsnapshot_job.
The AddMergeDynamicSnapshotJobForLateBoundComClients 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.
Voir aussi
Référence
Espace de noms Microsoft.SqlServer.Replication
Autres ressources
Instantanés des publications de fusion avec des filtres paramétrés