ReportingService2005.SetRoleProperties(String, String, Task[]) Method
Definition
设置角色属性,并将任务的集合与指定的角色关联。Sets role properties and associates a collection of tasks with a specified role.
public:
void SetRoleProperties(System::String ^ Name, System::String ^ Description, cli::array <ReportService2005::Task ^> ^ Tasks);
public void SetRoleProperties (string Name, string Description, ReportService2005.Task[] Tasks);
member this.SetRoleProperties : string * string * ReportService2005.Task[] -> unit
Public Sub SetRoleProperties (Name As String, Description As String, Tasks As Task())
Parameters
- Name
- String
要设置其属性的角色的名称。The name of the role for which to set properties.
- Description
- String
可选。Optional. 角色的说明。A description of the role.
- Tasks
- Task[]
一个Task对象的数组,该数组表示要为角色设置的任务。An array of Task objects that represent the tasks to set for the role.
Remarks
下表显示了有关此操作的标头和权限信息。The table below shows header and permissions information on this operation.
SOAP 标头SOAP Headers | (In) BatchHeaderValue(In) BatchHeaderValue (Out) ServerInfoHeaderValue(Out) ServerInfoHeaderValue |
所需的权限Required Permissions | UpdateRoleProperties (系统) UpdateRoleProperties (System) |
当你使用 SetRoleProperties 方法更改角色属性、组、用户和分配给角色的策略时,会影响。When you use the SetRoleProperties method to change role properties, groups, users, and policies that are assigned to the role are affected.