Roles Collection
Примечание. |
---|
В следующей версии 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 |
---|---|
Замечания
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.
Примечание. |
---|
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)