Platform SDK: Exchange 2000 Server |
[This is preliminary documentation and subject to change.]
The GetStream method returns message in serialized (wire-transport) format in an ADO Stream object.
[Visual Basic] Function GetStream() as ADODB.Stream [C++] HRESULT GetStream(_Stream** pVal); [IDL] HRESULT GetStream([out,retval] _Stream** pVal);
The GetStream method returns the entire message, including its headers and content (all body parts if MIME formatted) as a serialized stream within a single ADO Stream object. To obtain a stream for one of a message's body parts, call that body part object's GetDecodedContentStream or GetEncodedContentStream method.
The stream returned by this method is essentially a serialized copy of the current message, as it existed when this method was invoked. All changes made to the Stream object are local, and the message itself is not updated until the stream is flushed back by calling the Flush method on the ADO Stream object.