SnapshotGenerationAgent.PublisherDeadlockPriority Property

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

命名空間: Microsoft.SqlServer.Replication
組件: Microsoft.SqlServer.Replication (in microsoft.sqlserver.replication.dll)

語法

'宣告
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)

屬性值

A DeadlockPriority value.

備註

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.

執行緒安全性

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.

平台

開發平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

目標平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

請參閱

參考

SnapshotGenerationAgent Class
SnapshotGenerationAgent Members
Microsoft.SqlServer.Replication Namespace