ReportingService2010::RemoveAllModelItemPolicies Method
SQL Server 2012
Deletes all policies associate with model items in the specified model.
Namespace: ReportService2010
Assembly: ReportService2010 (in ReportService2010.dll)
[SoapDocumentMethodAttribute(L"http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/RemoveAllModelItemPolicies", RequestNamespace = L"http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", ResponseNamespace = L"http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", Use = SoapBindingUse::Literal, ParameterStyle = SoapParameterStyle::Wrapped)] [SoapHeaderAttribute(L"ServerInfoHeaderValue", Direction = SoapHeaderDirection::Out)] [SoapHeaderAttribute(L"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 |
After RemoveAllModelItemPolicies is successfully performed, all model items in the model will be visible to any user who can access the model.
