Command Object

OLE DB Programmer's Reference

The command object supports text commands in the MDX syntax by using the OLE DB ICommandText interface. Consumers use ICommandText::SetCommandText to specify the command and ICommand::Execute to process the command. For commands that may be used several times, consumers can prepare the command with ICommandPrepare::Prepare. For a complete discussion of the OLE DB command object, see "Command Objects" in Chapter 1: Overview of OLE DB. For additional information about the MDX syntax defined by OLE DB for OLAP and its use, see "Datasets and Multidimensional Expressions" in Chapter 22: OLE DB for OLAP Concepts. Also see Chapter 25: Multidimensional Expressions.

OLE DB for OLAP defines a GUID that denotes the MDX syntax: MDGUID_MDX. This GUID is used in ICommandText::SetCommandText to notify the provider that the query language being used is the MDX syntax defined in Chapter 26: MDX Grammar.

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