Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
HRESULT Create( const CSession& session**, LPCTSTR** szCommand**, REFGUID** guidCommand = DBGUID_DEFAULT );
Return Value
A standard HRESULT.
Parameters
session
[in] A session on which to create the command.
szCommand
[in] A pointer to the text of the command to be set.
guidCommand
[in] A GUID that specifies the syntax and general rules for the provider to use in parsing the command text. For a complete description of dialects, see in the OLE DB Programmer's Reference.
Remarks
Calls CCommand::CreateCommand to create a new command for the specified session, then calls to set the command text.