Remarque
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de vous connecter ou de modifier des répertoires.
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de modifier des répertoires.
Enumerates the options for how running replication agent threads are terminated when an unanticipated shutdown occurs.
Espace de noms : Microsoft.SqlServer.Replication
Assembly : Microsoft.SqlServer.Replication (en Microsoft.SqlServer.Replication.dll)
Syntaxe
'Déclaration
Public Enumeration AbortPolicy
'Utilisation
Dim instance As AbortPolicy
public enum AbortPolicy
public enum class AbortPolicy
type AbortPolicy
public enum AbortPolicy
Membres
| Nom de membre | Description | |
|---|---|---|
| Synchronous | Agent threads are only terminated at well-defined locations after a shutdown is in progress, such as before or after query execution and message logging. | |
| Asynchronous | The agent thread initiating the shutdown may actively abort other running agent threads. |
Notes
An unanticipated shutdown can occur because of a system runtime failure or a user initiated abort request.
The policy should be chosen depending on application state requirements. An asynchronous policy may be more responsive during a shutdown but can require the use of other techniques to return the runtime environment to an expected state. A synchronous policy can help avoid inadvertent interruption of updates to these critical global runtime states when a replication agent is invoked synchronously from an application.