共用方式為


Properties, clsDatabaseCommand

[!附註]

  下一版的 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

請參閱

參考