ReportingService2010.SetRoleProperties(String, String, String[]) 메서드

정의

역할 속성을 설정하고 태스크의 컬렉션을 지정된 역할과 연결합니다. 이 메서드는 기본 모드에만 적용됩니다.

public:
 void SetRoleProperties(System::String ^ Name, System::String ^ Description, cli::array <System::String ^> ^ TaskIDs);
[System.Web.Services.Protocols.SoapDocumentMethod("http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/SetRoleProperties", ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped, RequestNamespace="http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", ResponseNamespace="http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", Use=System.Web.Services.Description.SoapBindingUse.Literal)]
[System.Web.Services.Protocols.SoapHeader("TrustedUserHeaderValue")]
[System.Web.Services.Protocols.SoapHeader("ServerInfoHeaderValue", Direction=System.Web.Services.Protocols.SoapHeaderDirection.Out)]
public void SetRoleProperties (string Name, string Description, string[] TaskIDs);
[<System.Web.Services.Protocols.SoapDocumentMethod("http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/SetRoleProperties", ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped, RequestNamespace="http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", ResponseNamespace="http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", Use=System.Web.Services.Description.SoapBindingUse.Literal)>]
[<System.Web.Services.Protocols.SoapHeader("TrustedUserHeaderValue")>]
[<System.Web.Services.Protocols.SoapHeader("ServerInfoHeaderValue", Direction=System.Web.Services.Protocols.SoapHeaderDirection.Out)>]
member this.SetRoleProperties : string * string * string[] -> unit
Public Sub SetRoleProperties (Name As String, Description As String, TaskIDs As String())

매개 변수

Name
String

속성을 설정할 역할의 이름입니다.

Description
String

선택 사항입니다. 역할에 대한 설명을 입력합니다.

TaskIDs
String[]

역할에 대해 설정할 태스크를 나타내는 string 개체의 배열입니다.

특성

설명

다음 표에서는 이 작업에 대한 헤더 및 사용 권한 정보를 보여 줍니다.

SOAP 헤더 사용 (In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue
기본 모드 필수 권한 UpdateRoleProperties (시스템)
SharePoint 모드 필수 권한 지원되지 않음

이 메서드는 SharePoint 모드에서 호출될 때 예외를 throw합니다 OperationNotSupportedSharePointMode .

이 메서드를 사용하여 역할 속성을 변경하는 경우 역할에 할당된 그룹, 사용자 및 정책이 영향을 받습니다.

적용 대상