Share via


AgentCore.AbortPolicy Property

Gets or sets 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)

Syntax

'Declaration
Public Property AbortPolicy As AbortPolicy 
    Get 
    Set
'Usage
Dim instance As AgentCore 
Dim value As AbortPolicy 

value = instance.AbortPolicy

instance.AbortPolicy = value
public AbortPolicy AbortPolicy { get; set; }
public:
property AbortPolicy AbortPolicy {
    AbortPolicy get ();
    void set (AbortPolicy value);
}
member AbortPolicy : AbortPolicy with get, set
function get AbortPolicy () : AbortPolicy 
function set AbortPolicy (value : AbortPolicy)

Property Value

Type: Microsoft.SqlServer.Replication.AbortPolicy
The abort policy.

See Also

Reference

AgentCore Class

Microsoft.SqlServer.Replication Namespace