Share via


AdoDotNetSchemaReader.Terminate Method

Terminates the DataReader object immediately, without necessarily returning all of the data or setting output parameters.

Namespace:  Microsoft.VisualStudio.Data.Framework.AdoDotNet
Assembly:  Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)

Syntax

Public Overrides Sub Terminate

Dim instance As AdoDotNetSchemaReader

instance.Terminate()
public override void Terminate()
public:
virtual void Terminate() override
public override function Terminate()

Implements

IVsDataReader.Terminate()

Remarks

Call the Terminate method when the client no longer needs to read data from the data 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 midstream. A byproduct of calling the Terminate method is that any output parameters are not guaranteed to be set.

Permissions

See Also

Reference

AdoDotNetSchemaReader Class

AdoDotNetSchemaReader Members

Microsoft.VisualStudio.Data.Framework.AdoDotNet Namespace