次の方法で共有


Roles Collection

ms133845.note(ja-jp,SQL.90).gifメモ :
  この機能は、Microsoft SQL Server の次のバージョンで削除されます。新規の開発作業ではこの機能を使用しないようにし、現在この機能を使用しているアプリケーションはできるだけ早く修正してください。

The Roles collection holds the user role definitions for a Decision Support Objects (DSO) object. Each of the following objects contains a Roles collection:

  • clsDatabase
  • clsCube
  • clsMiningModel

Each Roles collection contains role objects of the same class type. The ContainedClassType property of a Roles collection specifies the class type of the contained objects.

Class type Contained class type

clsCube

clsCubeRole

clsDatabase

clsDatabaseRole

clsMiningModel

clsMiningModelRole

解説

As with other DSO collections, the AddNew, Find, and Remove methods of Roles collections maintain all necessary parent-child relationships among the objects in the object model.

ms133845.note(ja-jp,SQL.90).gifメモ :
  The UsersList property is maintained by clsDatabaseRole, and the Permissions property is maintained by clsCubeRole.

参照

関連項目

Methods, clsCollection
Properties, clsCollection
Collections (DSO)
Permissions (Role Interface)
UsersList (Role Interface)

ヘルプおよび情報

SQL Server 2005 の参考資料の入手