共用方式為


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 命名空間