Bagikan melalui


Role Class

Represents a role for use in Reporting Services security.

Inheritance Hierarchy

System.Object
  ReportService2005.Role

Namespace:  ReportService2005
Assembly:  ReportService2005 (in ReportService2005.dll)

Syntax

'Declaration
<SerializableAttribute> _
Public Class Role
'Usage
Dim instance As Role
[SerializableAttribute]
public class Role
[SerializableAttribute]
public ref class Role
[<SerializableAttribute>]
type Role =  class end
public class Role

The Role type exposes the following members.

Constructors

  Name Description
Public method Role Instantiates a new instance of a Role class.

Top

Properties

  Name Description
Public property Description Gets or sets the description of the role.
Public property Name Gets or sets the name of the role.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Remarks

A Role object is returned as output by the ListRoles method.

Use Role with the Roles property of the Policy class.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference