ReportingService2006.GetPolicies 메서드

Returns the policies that are associated with a particular item in a SharePoint library.

네임스페이스:  ReportService2006
어셈블리:  ReportService2006(ReportService2006.dll)

구문

‘선언
Public Function GetPolicies ( _
    Item As String, _
    <OutAttribute> ByRef InheritParent As Boolean _
) As Policy()
‘사용 방법
Dim instance As ReportingService2006 
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[]

매개 변수

  • Item
    유형: System.String
    The fully qualified URL of the item including the file name and extension.
  • InheritParent
    유형: System.Boolean%
    A Boolean expression that indicates whether the item inherits policies from its parent.

반환 값

유형: array<ReportService2006.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

(In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue

Required Permissions

EnumeratePermissions

참고 항목

참조

ReportingService2006 클래스

ReportService2006 네임스페이스