Поделиться через


ReportingService2010.RemoveAllModelItemPolicies(String) Метод

Определение

Удаляет все политики, связанные с элементами модели в указанной модели.

public:
 void RemoveAllModelItemPolicies(System::String ^ Model);
[System.Web.Services.Protocols.SoapDocumentMethod("http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/RemoveAllModelItemPolicies", ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped, RequestNamespace="http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", ResponseNamespace="http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", Use=System.Web.Services.Description.SoapBindingUse.Literal)]
[System.Web.Services.Protocols.SoapHeader("ServerInfoHeaderValue", Direction=System.Web.Services.Protocols.SoapHeaderDirection.Out)]
[System.Web.Services.Protocols.SoapHeader("TrustedUserHeaderValue")]
public void RemoveAllModelItemPolicies (string Model);
[<System.Web.Services.Protocols.SoapDocumentMethod("http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/RemoveAllModelItemPolicies", ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped, RequestNamespace="http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", ResponseNamespace="http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", Use=System.Web.Services.Description.SoapBindingUse.Literal)>]
[<System.Web.Services.Protocols.SoapHeader("ServerInfoHeaderValue", Direction=System.Web.Services.Protocols.SoapHeaderDirection.Out)>]
[<System.Web.Services.Protocols.SoapHeader("TrustedUserHeaderValue")>]
member this.RemoveAllModelItemPolicies : string -> unit
Public Sub RemoveAllModelItemPolicies (Model As String)

Параметры

Model
String

Полный URL-адрес модели, включая имя файла и расширение SMDL.

Атрибуты

Комментарии

В следующей таблице показаны сведения о заголовках и разрешениях для этой операции.

Использование заголовков SOAP (In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue
Необходимые разрешения в собственном режиме UpdateModelItemAuthorizationPolicies
Необходимые разрешения в режиме SharePoint <xref:Microsoft.SharePoint.SPBasePermissions.ManagePermissions>

После RemoveAllModelItemPolicies успешного выполнения все элементы модели в модели будут видны любому пользователю, у которого есть доступ к модели.

Применяется к