OLE DB Programmer's Reference |
ICommandStream, while similar to ICommandText, passes a command as a stream object rather than as a string. ICommandStream is not a mandatory interface.
ICommandStream should be implemented to facilitate commands as streams. Unlike ICommandText, which expects the command to be in Unicode format, ICommandStream can accept any provider-specific encoding.
Method | Description |
---|---|
GetCommandStream | Returns the command stream object set by the last call to ICommandStream::SetCommandStream. |
SetCommandStream | Sets the command stream object, replacing the existing stream object. |
1998-2001 Microsoft Corporation. All rights reserved.