Properties, clsDatabaseRole

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

An object of ClassType clsDatabaseRole implements the following properties of the Role interface.

Property Description

ClassType

Returns an enumeration constant that identifies the specific object type

Description

The description of a database role

IsValid

Indicates whether the role structure is valid

Name

The name of a database role

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

Permissions

The permissions for the database role for a given key

SubClassType

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

UsersList

A semicolon-delimited list of users of the database role

请参阅

参考

clsDatabaseRole
Role Interface

帮助和信息

获取 SQL Server 2005 帮助