Properties, clsDatabaseCommand

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

An object of ClassType clsDatabaseCommand implements the following properties of the Command interface.

Property Description

ClassType

Returns an enumeration constant that identifies the specific class type

CommandType

Returns an enumeration constant that identifies the command option

Description

The description of the database command

IsValid

Indicates whether the structure of the Command object is valid

Name

The name of the database command

OrdinalPosition

Returns the ordinal position of the command object in the Commands collection of the parent MDStore object

Parent

Returns a reference to the parent object, using the MDStore interface of the parent object

ParentObject

Returns a reference to the parent object, using the default interface of the parent object

Statement

The text of the database command statement, in Multidimensional Expressions (MDX)

SubClassType

Returns an enumeration constant that identifies the subclass type of the object

请参阅

参考

Command Interface

帮助和信息

获取 SQL Server 2005 帮助