ReportingService2010.GetRoleProperties(String, String, String) 메서드

정의

역할 정보 및 연관된 태스크의 컬렉션을 반환합니다.

public:
 cli::array <System::String ^> ^ GetRoleProperties(System::String ^ Name, System::String ^ SiteUrl, [Runtime::InteropServices::Out] System::String ^ % Description);
[System.Web.Services.Protocols.SoapDocumentMethod("http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/GetRoleProperties", 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 string[] GetRoleProperties (string Name, string SiteUrl, out string Description);
[<System.Web.Services.Protocols.SoapDocumentMethod("http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/GetRoleProperties", 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.GetRoleProperties : string * string * string -> string[]
Public Function GetRoleProperties (Name As String, SiteUrl As String, ByRef Description As String) As String()

매개 변수

Name
String

역할의 이름입니다.

SiteUrl
String

SharePoint 사이트에 대한 정규화된 URL입니다.

기본 모드에서 이 메서드를 호출할 때 이 매개 변수를 null(Visual Basic의 경우 Nothing)로 설정합니다.

Description
String

[out] 역할의 설명입니다.

반환

String[]

역할 정보를 나타내는 String배열입니다.

특성

설명

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

SOAP 헤더 사용 (In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue
기본 모드 필수 권한 ReadRoleProperties (시스템)
SharePoint 모드 필수 권한 <xref:Microsoft.SharePoint.SPBasePermissions.ManagePermissions>

이 메서드는 rsUnsupportedParameterForModeException 네이티브 모드에서 매개 변수에 대해 null이 아닌 값을 지정한 경우 예외를 SiteUrl throw합니다.

적용 대상