다음을 통해 공유


AbortPolicy 열거형

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

네임스페이스:  Microsoft.SqlServer.Replication
어셈블리:  Microsoft.SqlServer.Replication(Microsoft.SqlServer.Replication.dll)

구문

‘선언
<ComVisibleAttribute(True)> _
Public Enumeration AbortPolicy
‘사용 방법
Dim instance As AbortPolicy
[ComVisibleAttribute(true)]
public enum AbortPolicy
[ComVisibleAttribute(true)]
public enum class AbortPolicy
[<ComVisibleAttribute(true)>]
type AbortPolicy
public enum AbortPolicy

멤버

멤버 이름 설명
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.

주의

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.