Partilhar via


ICloseable.Close Method

Closes the server stream.

Namespace:  Microsoft.BusinessData.Runtime
Assembly:  Microsoft.BusinessData (in Microsoft.BusinessData.dll)

Syntax

'Declaration
Sub Close
'Usage
Dim instance As ICloseable

instance.Close()
void Close()

Remarks

When the data is being streamed from the external system, this method enables users to cut the stream and release the resources.

Warning

This method needs to be called when the application no longer needs the enumerator. Not calling it will cause resource leaks and may have a negative effect on the performance.

See Also

Reference

ICloseable Interface

ICloseable Members

Microsoft.BusinessData.Runtime Namespace