Name

Stream.State Property — (Versions 2.5, 2.6)

Synopsis

                     state = record.State

The State property indicates the current state of the Stream object.

Datatype

Long (ObjectStateEnum)

Description

The State property is read-only; returning a Long value that can be evaluated as an ObjectStateEnum enumeration value. The default value for the Stream object is closed.

For the Stream object, the State property can return multiple values when the object is executing an operation asynchronously (i.e., adStateOpen and adStateExecuting).

See Also

ObjectStateEnum Enumeration

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.