Share via


Propriété SnapshotGenerationAgent.DistributorDeadlockPriority

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

Espace de noms :  Microsoft.SqlServer.Replication
Assembly :  Microsoft.SqlServer.Replication (en Microsoft.SqlServer.Replication.dll)

Syntaxe

'Déclaration
Public Property DistributorDeadlockPriority As DeadlockPriority 
    Get 
    Set
'Utilisation
Dim instance As SnapshotGenerationAgent 
Dim value As DeadlockPriority 

value = instance.DistributorDeadlockPriority

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

Valeur de propriété

Type : Microsoft.SqlServer.Replication.DeadlockPriority
A DeadlockPriority value.

Implémente

ISnapshotGenerationAgent.DistributorDeadlockPriority

Notes

The DistributorDeadlockPriority 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 Distributor, and specify a value of Low to favor other applications when a deadlock occurs at the Distributor.

Voir aussi

Référence

SnapshotGenerationAgent Classe

Espace de noms Microsoft.SqlServer.Replication