Dela via


SnapshotGenerationAgent.StartQueueTimeout Property

Gets or sets the time that the Snapshot Agent waits when the maximum number of concurrent partitioned snapshot processes for a merge publication are already running.

Namespace:  Microsoft.SqlServer.Replication
Assembly:  Microsoft.SqlServer.Replication (in Microsoft.SqlServer.Replication.dll)

Syntax

'Declaration
Public Property StartQueueTimeout As Integer
    Get
    Set
'Usage
Dim instance As SnapshotGenerationAgent
Dim value As Integer

value = instance.StartQueueTimeout

instance.StartQueueTimeout = value
public int StartQueueTimeout { get; set; }
public:
virtual property int StartQueueTimeout {
    int get () sealed;
    void set (int value) sealed;
}
abstract StartQueueTimeout : int with get, set
override StartQueueTimeout : int with get, set
final function get StartQueueTimeout () : int
final function set StartQueueTimeout (value : int)

Property Value

Type: System.Int32
An Int32 value that represents the time, in seconds.

Implements

ISnapshotGenerationAgent.StartQueueTimeout

Remarks

The maximum number of partitioned snapshot processes is defined by the MaxConcurrentDynamicSnapshots property of a merge publication. If the maximum number of seconds is reached and the Snapshot Agent is still waiting, it will exit.

A value of 0 for StartQueueTimeout means that the agent waits indefinitely, although it can be cancelled