Name

Stream.Flush Method — (Versions 2.5, 2.6)

Synopsis

stream.Flush

The Flush method ensures that all changes made to a Stream object have been persisted to the resource that the Stream object represents.

Description

The Flush method persists any outstanding changes of the Stream object to the resource that is represented by the Stream object. Microsoft claims that this is very rarely necessary, as ADO calls this method internally in the background whenever possible. In addition, when closing a Stream object, the stream is first flushed to the data source.

Get ADO: ActiveX Data Objects now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.