GetPolicies méthode

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

Espace de noms :  ReportService2006
Assembly :  ReportService2006 (dans ReportService2006.dll)

[SoapHeaderAttribute("TrustedUserHeaderValue")]
[SoapDocumentMethodAttribute("http://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices/GetPolicies", RequestNamespace = "http://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices", 
	ResponseNamespace = "http://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices", 
	Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
[SoapHeaderAttribute("ServerInfoHeaderValue", Direction = SoapHeaderDirection.Out)]
public Policy[] GetPolicies(
	string Item,
	out bool InheritParent
)

Paramètres

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

Valeur de retour

Type : array<ReportService2006..::..Policy>[]()[][]
An array of Policy objects that contains the users and roles associated with the item.

Ajouts de la communauté

AJOUTER
Afficher: