ReportingService2010.GetItemHistoryOptions Método

Definição

Retorna a opção de snapshot do histórico do item e as propriedades geradas para um item de catálogo. Esse método se aplica ao tipo de Report item.

public:
 bool GetItemHistoryOptions(System::String ^ ItemPath, [Runtime::InteropServices::Out] bool % KeepExecutionSnapshots, [Runtime::InteropServices::Out] ReportService2010::ScheduleDefinitionOrReference ^ % Item);
[System.Web.Services.Protocols.SoapDocumentMethod("http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/GetItemHistoryOptions", 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 bool GetItemHistoryOptions(string ItemPath, out bool KeepExecutionSnapshots, out ReportService2010.ScheduleDefinitionOrReference Item);
[<System.Web.Services.Protocols.SoapDocumentMethod("http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/GetItemHistoryOptions", 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.GetItemHistoryOptions : string * bool * ScheduleDefinitionOrReference -> bool
Public Function GetItemHistoryOptions (ItemPath As String, ByRef KeepExecutionSnapshots As Boolean, ByRef Item As ScheduleDefinitionOrReference) As Boolean

Parâmetros

ItemPath
String

A URL totalmente qualificada do item, incluindo o nome do arquivo e, no modo SharePoint, a extensão.

KeepExecutionSnapshots
Boolean

[fora] Uma Boolean expressão que indica se o histórico do item é coletado para o item. O valor padrão é false.

Item
ScheduleDefinitionOrReference

[fora] Um ScheduleDefinitionOrReference objeto que representa um ScheduleDefinition objeto, um ScheduleReference objeto ou um NoSchedule objeto.

Retornos

true se o histórico do item for coletado; caso contrário, false.

Atributos

Comentários

A tabela abaixo mostra informações sobre cabeçalhos e permissões sobre esta operação.

Uso do Cabeçalho SOAP (Em) TrustedUserHeaderValue

(Fora) ServerInfoHeaderValue
Modo Nativo Necessário Permissões ReadPolicy
Permissões Necessárias no Modo SharePoint <xref:Microsoft.SharePoint.SPBasePermissions.ViewListItems>

Aplica-se a