RelationalReaderCancelOnDispose Property |
Gets or sets a value indicating whether to enable cancel on dispose.
Namespace:
Dundas.BI.Data.DataProviders
Assembly:
Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.3.0.1000)
Syntax public bool CancelOnDispose { get; set; }
Public Property CancelOnDispose As Boolean
Get
Set
public:
property bool CancelOnDispose {
bool get ();
void set (bool value);
}
member CancelOnDispose : bool with get, set
Property Value
Type:
Boolean if Cancel on dispose is enabled; otherwise,
.
Remarks
If set to and you attempt to close the reader before you have
read all the rows, the Close operation will retrieve the remaining data from the stream.
If there is a significant amount of data left in the stream, this may take long
enough to cause a timeout exception.
See Also