ICommandStream

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.

When to Implement

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.



Microsoft Ole Db 2.0 Programmer's Reference and Data Access SDK
Microsoft OLE DB 2.0 Programmers Reference and Data Access SDK (Microsoft Professional Editions)
ISBN: 0735605904
EAN: 2147483647
Year: 1998
Pages: 1083

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net