ReportingService2010.RemoveAllModelItemPolicies Method
SQL Server 2008 R2
Deletes all policies associate with model items in the specified model.
Assembly: ReportService2010 (in ReportService2010.dll)
[SoapDocumentMethodAttribute("http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/RemoveAllModelItemPolicies", RequestNamespace = "http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", ResponseNamespace = "http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)] [SoapHeaderAttribute("ServerInfoHeaderValue", Direction = SoapHeaderDirection.Out)] [SoapHeaderAttribute("TrustedUserHeaderValue")] public void RemoveAllModelItemPolicies( string Model )
Parameters
- Model
- Type: System.String
The fully qualified URL of the model including the file name and .smdl file name extension.
The table below shows header and permissions information on this operation.
SOAP Header Usage | (Out) ServerInfoHeaderValue |
Native Mode Required Permissions | |
SharePoint Mode Required Permissions | ManagePermissions() |
After RemoveAllModelItemPolicies is successfully performed, all model items in the model will be visible to any user who can access the model.
