Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

AbortPolicy Enumeration

 

Applies To: SQL Server 2016 Preview

Enumerates the options for how running replication agent threads are terminated when an unanticipated shutdown occurs.

Namespace:   Microsoft.SqlServer.Replication
Assembly:  Microsoft.SqlServer.Replication (in Microsoft.SqlServer.Replication.dll)

public enum AbortPolicy

Member nameDescription
Asynchronous

The agent thread initiating the shutdown may actively abort other running agent threads.

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.

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.

Return to top

Community Additions

Show:
© 2015 Microsoft