次の方法で共有


ReportingService2005.SetRoleProperties メソッド

ロールのプロパティを設定し、タスクのコレクションを指定したロールに関連付けます。

名前空間:  ReportService2005
アセンブリ:  ReportService2005 (ReportService2005.dll)

構文

'宣言
Public Sub SetRoleProperties ( _
    Name As String, _
    Description As String, _
    Tasks As Task() _
)
'使用
Dim instance As ReportingService2005 
Dim Name As String 
Dim Description As String 
Dim Tasks As Task()

instance.SetRoleProperties(Name, Description, _
    Tasks)
public void SetRoleProperties(
    string Name,
    string Description,
    Task[] Tasks
)
public:
void SetRoleProperties(
    String^ Name, 
    String^ Description, 
    array<Task^>^ Tasks
)
member SetRoleProperties : 
        Name:string * 
        Description:string * 
        Tasks:Task[] -> unit
public function SetRoleProperties(
    Name : String, 
    Description : String, 
    Tasks : Task[]
)

パラメーター

  • Name
    型: System.String
    プロパティを設定するロールの名前です。
  • Description
    型: System.String
    省略可能です。 ロールの説明です。

説明

次の表に、この操作に関連するヘッダーおよび権限の情報を示します。

SOAP ヘッダー

(In) BatchHeaderValue

(Out) ServerInfoHeaderValue

必要な権限

UpdateRoleProperties (システム)

SetRoleProperties メソッドを使用してロールのプロパティを変更すると、ロールに割り当てられたグループ、ユーザー、およびポリシーが影響を受けます。

関連項目

参照

ReportingService2005 クラス

ReportService2005 名前空間