共用方式為


Role 類別

Represents a role for use in Reporting Services security.

繼承階層

System.Object
  ReportService2010.Role

命名空間:  ReportService2010
組件:  ReportService2010 (在 ReportService2010.dll 中)

語法

'宣告
<SerializableAttribute> _
Public Class Role
'用途
Dim instance As Role
[SerializableAttribute]
public class Role
[SerializableAttribute]
public ref class Role
[<SerializableAttribute>]
type Role =  class end
public class Role

Role 型別公開下列成員。

建構函式

  名稱 說明
公用方法 Role Initializes a new instance of the Role class.

上層

屬性

  名稱 說明
公用屬性 Description Gets or sets the description of the role.
公用屬性 Name Gets or sets the name of the role.

上層

方法

  名稱 說明
公用方法 Equals (繼承自 Object。)
受保護的方法 Finalize (繼承自 Object。)
公用方法 GetHashCode (繼承自 Object。)
公用方法 GetType (繼承自 Object。)
受保護的方法 MemberwiseClone (繼承自 Object。)
公用方法 ToString (繼承自 Object。)

上層

備註

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

Use the Role class together with the Roles property of the Policy class.

執行緒安全性

這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。

請參閱

參考

ReportService2010 命名空間