Share via


IVsDataReader.Terminate Method

When implemented by a class, terminates the data reader immediately, without necessarily returning all of the data or setting output parameters.

Namespace:  Microsoft.VisualStudio.Data.Services.SupportEntities
Assembly:  Microsoft.VisualStudio.Data.Services (in Microsoft.VisualStudio.Data.Services.dll)

Syntax

'Declaration
Sub Terminate
'Usage
Dim instance As IVsDataReader

instance.Terminate()
void Terminate()
void Terminate()
function Terminate()

Remarks

Call the Terminate method when the client no longer needs to read data from the reader and needs to close immediately. This method differs from the Close method, in that it does not wait for the data source to finish returning all the data and abruptly terminates mid-stream. A byproduct of calling the Terminate method is that any output parameters are not guaranteed to be set.

.NET Framework Security

See Also

Reference

IVsDataReader Interface

IVsDataReader Members

Microsoft.VisualStudio.Data.Services.SupportEntities Namespace