2016-08-03 10:59:49 +00:00
|
|
|
//------------------------------------------------------------------------------
|
|
|
|
// <copyright file="RowsCopiedEvent.cs" company="Microsoft">
|
|
|
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
|
|
// </copyright>
|
2017-08-21 15:34:15 +00:00
|
|
|
// <owner current="true" primary="true">Microsoft</owner>
|
|
|
|
// <owner current="true" primary="false">Microsoft</owner>
|
2016-08-03 10:59:49 +00:00
|
|
|
//------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
namespace System.Data.SqlClient {
|
|
|
|
|
|
|
|
public class SqlRowsCopiedEventArgs : System.EventArgs {
|
|
|
|
private bool _abort;
|
|
|
|
private long _rowsCopied;
|
|
|
|
|
|
|
|
public SqlRowsCopiedEventArgs (long rowsCopied) {
|
|
|
|
_rowsCopied = rowsCopied;
|
|
|
|
}
|
|
|
|
|
|
|
|
public bool Abort {
|
|
|
|
get {
|
|
|
|
return _abort;
|
|
|
|
}
|
|
|
|
set {
|
|
|
|
_abort = value;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
public long RowsCopied {
|
|
|
|
get {
|
|
|
|
return _rowsCopied;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|