Share via


SnapshotGenerationAgent.PublisherDeadlockPriority Property

Gets or sets the priority of the Snapshot Agent connection to the Publisher when a deadlock occurs.

Namespace: Microsoft.SqlServer.Replication
Assembly: Microsoft.SqlServer.Replication (in microsoft.sqlserver.replication.dll)

Syntax

'Declaration
Public Property PublisherDeadlockPriority As DeadlockPriority
public DeadlockPriority PublisherDeadlockPriority { get; set; }
public:
virtual property DeadlockPriority PublisherDeadlockPriority {
    DeadlockPriority get () sealed;
    void set (DeadlockPriority value) sealed;
}
/** @property */
public final DeadlockPriority get_PublisherDeadlockPriority ()

/** @property */
public final void set_PublisherDeadlockPriority (DeadlockPriority value)
public final function get PublisherDeadlockPriority () : DeadlockPriority

public final function set PublisherDeadlockPriority (value : DeadlockPriority)

Property Value

A DeadlockPriority value.

Remarks

The PublisherDeadlockPriority property is used when resolving deadlocks that may occur between the Snapshot Agent and user applications during snapshot generation.

Specify a value of High to favor the Snapshot Agent when a deadlock occurs at the Publisher, and specify a value of Low to favor other applications when a deadlock occurs at the Publisher.

The PublisherDeadlockPriority property is only supported for SQL Server Publishers.

Thread Safety

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.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

SnapshotGenerationAgent Class
SnapshotGenerationAgent Members
Microsoft.SqlServer.Replication Namespace