AbortPolicy Enumeration

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

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

語法

'宣告
<ComVisibleAttribute(True)> _
Public Enumeration AbortPolicy
[ComVisibleAttribute(true)] 
public enum AbortPolicy
[ComVisibleAttribute(true)] 
public enum class AbortPolicy
/** @attribute ComVisibleAttribute(true) */ 
public enum AbortPolicy
ComVisibleAttribute(true) 
public enum AbortPolicy

Members

Member name Description
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.

平台

開發平台

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

目標平台

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

請參閱

參考

Microsoft.SqlServer.Replication Namespace