Share via


ReportingService2005.DeleteRole 메서드

Deletes a specified role from the report server database.

네임스페이스:  ReportService2005
어셈블리:  ReportService2005(ReportService2005.dll)

구문

‘선언
Public Sub DeleteRole ( _
    Name As String _
)
‘사용 방법
Dim instance As ReportingService2005 
Dim Name As String

instance.DeleteRole(Name)
public void DeleteRole(
    string Name
)
public:
void DeleteRole(
    String^ Name
)
member DeleteRole : 
        Name:string -> unit
public function DeleteRole(
    Name : String
)

매개 변수

주의

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

SOAP Headers

(In) BatchHeaderValue

(Out) ServerInfoHeaderValue

Required Permissions

DeleteRoles

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.

참고 항목

참조

ReportingService2005 클래스

ReportService2005 네임스페이스