Properties, clsDatabaseRole

ms132773.note(zh-tw,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 協助