Tortuga.Chain Namespace
Tortuga.Chain.CommandBuilders Namespace
Tortuga.Chain.Metadata Namespace

SqlServerInsertBulk..::..WithNotifications Method

After notifyAfter records, the event handler will be fired. This can be used to abort the bulk insert.

Namespace:  Tortuga.Chain.SqlServer.CommandBuilders
Assembly:  Tortuga.Chain.SqlServer.MDS (in Tortuga.Chain.SqlServer.MDS.dll)

Syntax


public SqlServerInsertBulk WithNotifications(
	EventHandler<AbortableOperationEventArgs> eventHandler,
	int notifyAfter
)
Public Function WithNotifications ( _
	eventHandler As EventHandler(Of AbortableOperationEventArgs), _
	notifyAfter As Integer _
) As SqlServerInsertBulk
public:
SqlServerInsertBulk^ WithNotifications(
	EventHandler<AbortableOperationEventArgs^>^ eventHandler, 
	int^ notifyAfter
)

Parameters

eventHandler
Type: EventHandler<(Of <(<'AbortableOperationEventArgs>)>)>
The event handler.
notifyAfter
Type: Int32
The notify after.