MergePublication.MaxConcurrentDynamicSnapshots Property

Gets or sets the maximum number of concurrent Snapshot Agent sessions supported when generating data snapshots when the publication has a parameterized row filter.

Espace de noms: Microsoft.SqlServer.Replication
Assembly: Microsoft.SqlServer.Rmo (in microsoft.sqlserver.rmo.dll)

Syntaxe

'Déclaration
Public Property MaxConcurrentDynamicSnapshots As Integer
public int MaxConcurrentDynamicSnapshots { get; set; }
public:
property int MaxConcurrentDynamicSnapshots {
    int get ();
    void set (int value);
}
/** @property */
public int get_MaxConcurrentDynamicSnapshots ()

/** @property */
public void set_MaxConcurrentDynamicSnapshots (int value)
public function get MaxConcurrentDynamicSnapshots () : int

public function set MaxConcurrentDynamicSnapshots (value : int)

Valeur de propriété

An Int32 value. When 0, there is no limit to the number of concurrent filtered data snapshot sessions that can run simultaneously against the publication at any given time

Notes

If more than the maximum number of snapshot processes are scheduled to run at the same time, the outstanding jobs are placed in a queue until a currently-running snapshot process is complete.

The MaxConcurrentDynamicSnapshots property can be retrieved by members of the db_owner or replmonitor fixed database roles on the publication database or by members of the publication access list (PAL) for the publication.

The MaxConcurrentDynamicSnapshots property can be set by members of the sysadmin fixed server role at the Publisher. It can also be set by members of the db_owner fixed database role on the publication database.

Retrieving MaxConcurrentDynamicSnapshots is equivalent to executing sp_helpmergepublication.

Setting MaxConcurrentDynamicSnapshots is equivalent to executing sp_addmergepublication or sp_changemergepublication.

The MaxConcurrentDynamicSnapshots property is available with Microsoft SQL Server 2000 and Microsoft SQL Server 2005.

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Sécurité des threads

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Plateformes

Plateformes de développement

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Plateformes cibles

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Voir aussi

Référence

MergePublication Class
MergePublication Members
Microsoft.SqlServer.Replication Namespace