Using Decision Support Objects (DSO)

ms133251.note(zh-cn,SQL.90).gif注意:
  下一版本的 Microsoft SQL Server 将删除该功能。请不要在新的开发工作中使用该功能,并尽快修改当前还在使用该功能的应用程序。

You can use Decision Support Objects (DSO) in your applications to administer the server and to create and maintain OLAP and data mining objects. DSO objects can also be created and used to incorporate the server functions of Microsoft® SQL Server™ 2005 Analysis Services into client applications. For information about the programming environments in which you can use DSO to create such client applications, see Development Environments.

A common sequence of operations for an application using DSO is:

  1. Connect to an Analysis server.
  2. Create a database object to contain dimensions and cubes.
  3. Add a data source that contains the data.
  4. Create dimensions and their levels.
  5. Create a cube and specify dimensions and measures.
  6. Process a cube to load its structure and data.

These operations are described and illustrated using Microsoft Visual Basic®, Microsoft Visual Basic Scripting Edition, and Microsoft Visual C++® code in Common Operations and Examples.