Command (Decision Support Objects)

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

The Command object in Decision Support Objects (DSO) provides access to commands associated with databases, cubes, and roles in Microsoft® SQL Server™ 2000 Analysis Services. The DSO Database, Cube, and Role objects support the Commands collection for access to associated commands.

All three types of commands are supported with DSO objects. Each command object detailed in the following table uses the Command interface, with the ClassType property set to the appropriate value for the command type as shown.

Command type Command object Command class type

Database command

DbCommand

clsDatabaseCommand

Cube command

CubeCommand

clsCubeCommand

Role command

RoleCommand

clsRoleCommand

The Command object is used to:

  • Provide access to the properties, such as the statement and ordinal position, of a command associated with a database, cube, or role.
  • Manage locks for a command associated with a database, cube, or role.

请参阅

参考

clsDatabaseCommand
clsCubeCommand
clsRoleCommand
Cube (Decision Support Objects)
Database (Decision Support Objects)

概念

Role (Decision Support Objects)

其他资源

Commands

帮助和信息

获取 SQL Server 2005 帮助