Dataset Object

OLE DB Programmer's Reference

OLE DB for OLAP defines an additional OLE DB object. The dataset object provides an abstraction for a multidimensional result set.

The following diagram shows the interfaces available on this object. Mandatory interfaces are shown on the right, and optional interfaces are shown on the left.

OLE DB for OLAP dataset objects are defined as follows:

CoType TDataset { [mandatory]   interface IMDDataset; [mandatory]   interface IAccessor; [mandatory]   interface IConvertType; [mandatory]   interface IColumnsInfo; [optional]    interface IMDFind; [optional]    interface IMDRangeRowset; [optional]    interface ISupportErrorInfo; }

The interfaces and methods perform the following actions:

  • Give the number of axes and the contents of each axis.
  • Provide information about the slicer dimensions (the tuple in the WHERE clause).
  • Create an accessor.
  • Describe values such as the number and data type of cell properties.
  • Retrieve cell property values.
  • Search the dataset for a given cell and search the axes for a given tuple.
  • Provide information about supported data type conversions.
  • Retrieve an interface on the command object that created the dataset object.

Where possible, the existing OLE DB infrastructure used for navigation, description, and other functions has been used for OLE DB for OLAP.

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