다음을 통해 공유


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

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.

[!참고]   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 지원 받기