Поделиться через


Свойство SnapshotGenerationAgent.PublisherDeadlockPriority

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

Пространство имен:  Microsoft.SqlServer.Replication
Сборка:  Microsoft.SqlServer.Replication (в Microsoft.SqlServer.Replication.dll)

Синтаксис

'Декларация
Public Property PublisherDeadlockPriority As DeadlockPriority 
    Get 
    Set
'Применение
Dim instance As SnapshotGenerationAgent 
Dim value As DeadlockPriority 

value = instance.PublisherDeadlockPriority

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

Значение свойства

Тип: Microsoft.SqlServer.Replication.DeadlockPriority
A DeadlockPriority value.

Реализует

ISnapshotGenerationAgent.PublisherDeadlockPriority

Замечания

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.

См. также

Справочник

SnapshotGenerationAgent Класс

Пространство имен Microsoft.SqlServer.Replication