MDAC 2.5 SDK - OLE DB Programmer's Reference
OLE DB Interfaces


 

ICommandText : ICommand

This interface is mandatory on commands.

A command object can have only one text command. When the command text is specified through ICommandText::SetCommandText, it replaces the existing command text.

Method Description
GetCommandText Returns the text command set by the last call to ICommandText::SetCommandText.
SetCommandText Sets the command text, replacing the existing command text.