SetRoleProperties Method
SQL Server 2000
ReportingService.SetRoleProperties Method
Sets role properties and associates a collection of tasks with a specified role.
Public Sub SetRoleProperties( _ ByVal Name As String _ ByVal Description As String _ ByVal Tasks() As [Namespace].Task _ ) Member of [Namespace].ReportingService
public void SetRoleProperties( string Name, string Description, [Namespace].Task[] Tasks ); Member of [Namespace].ReportingService
Parameters
- Name
- The name of the role for which to set properties.
- Description
- Optional. A description of the role.
- Tasks
- An array of Task[] objects that represents the tasks to set for the role.
Permissions
| Operation | Description |
|---|---|
| Update Role Properties | Required for setting properties of roles. |
Remarks
When you use the SetRoleProperties method to change role properties, groups, users, and policies that are assigned to the role are affected.