Метод GetRoleProperties
Возвращает сведения о роли и набор связанных задач.
Пространство имен: ReportService2006
Сборка: ReportService2006 (в ReportService2006.dll)
Синтаксис
'Декларация
<SoapHeaderAttribute("TrustedUserHeaderValue")> _
<SoapHeaderAttribute("ServerInfoHeaderValue", Direction := SoapHeaderDirection.Out)> _
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices/GetRoleProperties", RequestNamespace := "https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices", _
ResponseNamespace := "https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices", _
Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Function GetRoleProperties ( _
Name As String, _
Site As String, _
<OutAttribute> ByRef Description As String _
) As Task()
'Применение
Dim instance As ReportingService2006
Dim Name As String
Dim Site As String
Dim Description As String
Dim returnValue As Task()
returnValue = instance.GetRoleProperties(Name, _
Site, Description)
[SoapHeaderAttribute("TrustedUserHeaderValue")]
[SoapHeaderAttribute("ServerInfoHeaderValue", Direction = SoapHeaderDirection.Out)]
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices/GetRoleProperties", RequestNamespace = "https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices",
ResponseNamespace = "https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices",
Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public Task[] GetRoleProperties(
string Name,
string Site,
out string Description
)
[SoapHeaderAttribute(L"TrustedUserHeaderValue")]
[SoapHeaderAttribute(L"ServerInfoHeaderValue", Direction = SoapHeaderDirection::Out)]
[SoapDocumentMethodAttribute(L"https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices/GetRoleProperties", RequestNamespace = L"https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices",
ResponseNamespace = L"https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices",
Use = SoapBindingUse::Literal, ParameterStyle = SoapParameterStyle::Wrapped)]
public:
array<Task^>^ GetRoleProperties(
String^ Name,
String^ Site,
[OutAttribute] String^% Description
)
[<SoapHeaderAttribute("TrustedUserHeaderValue")>]
[<SoapHeaderAttribute("ServerInfoHeaderValue", Direction = SoapHeaderDirection.Out)>]
[<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices/GetRoleProperties", RequestNamespace = "https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices",
ResponseNamespace = "https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices",
Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)>]
member GetRoleProperties :
Name:string *
Site:string *
Description:string byref -> Task[]
public function GetRoleProperties(
Name : String,
Site : String,
Description : String
) : Task[]
Параметры
- Name
Тип: System. . :: . .String
Имя роли.
- Site
Тип: System. . :: . .String
Полный URL-адрес сайта SharePoint.
- Description
Тип: System. . :: . .String%
[out] Описание роли.
Возвращаемое значение
Тип: array<ReportService2006. . :: . .Task> [] () [] []
Массив объектов Task, представляющий задачи, связанные с ролью.
Замечания
The table below shows header and permissions information on this operation.
SOAP Headers |
(Out) ServerInfoHeaderValue |
Required Permissions |
ManagePermissions()()()() |