Properties, Role Interface

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

The Role interface supports the following properties.

Property Description

ClassType

Returns an enumeration constant that identifies the specific object type

Description

The description of a role

IsValid

Indicates whether a role structure is valid

Name

The name of a role

Parent

Returns a reference to the parent MDStore object

ParentObject

Returns a reference to the parent object that the current role object is a child of

Permissions

The role permissions for a given key

SubClassType

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

UsersList

A semicolon-delimited list of users

Access Cross-Reference

The following table shows whether the property is read/write (R/W), read-only (R), or not applicable (n/a) for different objects.

Property clsDatabaseRole clsCubeRole clsMiningModelRole

ClassType

R

R

R

Description

R/W

R

R

IsValid

R

R

R

Name

R/W (R after the object has been named)

R/W (R after the object has been named)

R/W (R after the object has been named)

Parent

R

R

R

Permissions

R

R

R

SubClassType

R

R

R

UsersList

R/W

R

R

请参阅

参考

Role Interface

帮助和信息

获取 SQL Server 2005 帮助