Поделиться через


Метод ReportingService2005.GetPolicies

Returns the policies that are associated with a particular item in the report server database.

Пространство имен:  ReportService2005
Сборка:  ReportService2005 (в ReportService2005.dll)

Синтаксис

'Декларация
Public Function GetPolicies ( _
    Item As String, _
    <OutAttribute> ByRef InheritParent As Boolean _
) As Policy()
'Применение
Dim instance As ReportingService2005 
Dim Item As String 
Dim InheritParent As Boolean 
Dim returnValue As Policy()

returnValue = instance.GetPolicies(Item, _
    InheritParent)
public Policy[] GetPolicies(
    string Item,
    out bool InheritParent
)
public:
array<Policy^>^ GetPolicies(
    String^ Item, 
    [OutAttribute] bool% InheritParent
)
member GetPolicies : 
        Item:string * 
        InheritParent:bool byref -> Policy[] 
public function GetPolicies(
    Item : String, 
    InheritParent : boolean
) : Policy[]

Параметры

  • InheritParent
    Тип: System.Boolean%
    A Boolean expression that indicates whether the item inherits policies from its parent.

Возвращаемое значение

Тип: array<ReportService2005.Policy[]
An array of Policy objects that contains the users and roles associated with the item.

Замечания

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

SOAP Headers

(Out) ServerInfoHeaderValue

Required Permissions

Depends on the item type:

См. также

Справочник

ReportingService2005 Класс

Пространство имен ReportService2005