title | description | author | ms.author | ms.date | ms.service | ms.subservice | ms.topic | f1_keywords | helpviewer_keywords | apitype | ||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Size Property (ADO Stream) |
Size Property (ADO Stream) |
rothja |
jroth |
01/19/2017 |
sql |
ado |
reference |
|
|
COM |
Indicates the size of the stream in number of bytes.
Returns a Long value that specifies the size of the stream in number of bytes. The default value is the size of the stream, or -1 if the size of the stream is not known.
Size can be used only with open Stream objects.
Note
Any number of bits can be stored in a Stream object, limited only by system resources. If the Stream contains more bits than can be represented by a Long value, Size is truncated and therefore does not accurately represent the length of the Stream.