Properties, clsRoleCommand

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

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

Property Description

ClassType

Returns an enumeration constant that identifies the specific object type

CommandType

Returns an enumeration constant that identifies the specific command option

Description

Contains the description of the role command

IsValid

Indicates whether the Name and Statement properties are empty and whether the command object belongs to a collection

Name

Contains the name of the role command

OrdinalPosition

Returns the ordinal position of the command object in Commands collection of the parent role 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

Contains the text of the role command statement, in Multidimensional Expressions (MDX)

SubClassType

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

请参阅

参考

clsRoleCommand
Command Interface

帮助和信息

获取 SQL Server 2005 帮助