dotConnect for Oracle Documentation
Devart.Data.Oracle Namespace / OracleLoaderRowsCopiedEventArgs Class / Abort Property

In This Topic
    Abort Property
    In This Topic
    Specifies whether to abort the data loading operation.
    Syntax
    'Declaration
     
    Public Property Abort As Boolean
    public bool Abort {get; set;}

    Property Value

    true if the data loading operation should be aborted; otherwise, false.
    Remarks
    Set Abort to true in the RowsCopied event handler in order to abort data loading operation. In this case OracleLoader frees all resources correctly and generates System.OperationCanceledException, which you can catch and process in your code.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also