Command (Decision Support Objects)
[!참고]
이 기능은 다음 버전의 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.