共用方式為


ReportingService2005.SetRoleProperties 方法

Sets role properties and associates a collection of tasks with a specified role.

命名空間:  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
    The name of the role for which to set properties.
  • Description
    型別:System.String
    Optional. A description of the role.

備註

The table below shows header and permissions information on this operation.

SOAP Headers

(In) BatchHeaderValue

(Out) ServerInfoHeaderValue

Required Permissions

UpdateRoleProperties (System)

When you use the SetRoleProperties method to change role properties, groups, users, and policies that are assigned to the role are affected.

請參閱

參考

ReportingService2005 類別

ReportService2005 命名空間