ReportingService2005.DeleteRole Method
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Deletes a specified role from the report server database.
Syntax
'Declaration
Public Sub DeleteRole ( _
Name As String _
)
public void DeleteRole (
string Name
)
public:
void DeleteRole (
String^ Name
)
public void DeleteRole (
String Name
)
public function DeleteRole (
Name : String
)
Parameters
- Name
The name of the role.
Remarks
Deleting a role removes it from all policies with which the role is associated. If the role that is deleted is the only role that is associated with a particular policy, the policy is also deleted and any item associated with the policy inherits new policies from its parent.
You cannot delete the reserved role MyReportsRole.
Thread Safety
Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.
Target Platforms
See Also
Reference
ReportingService2005 Class
ReportingService2005 Members
Microsoft.WSSUX.ReportingServicesWebService.RSManagementService2005 Namespace