ReportingService2010.GetItemHistoryOptions Método

Definição

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

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 a extensão no modo do SharePoint.

KeepExecutionSnapshots
Boolean

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

Item
ScheduleDefinitionOrReference

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

Retornos

true se o histórico de itens for coletado para o item; caso contrário, o valor será false.

Atributos

Comentários

A tabela a seguir mostra o cabeçalho e as informações de permissão sobre esta operação.

Uso do cabeçalho SOAP (In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue
Permissões necessárias do modo nativo ReadPolicy
Permissões necessárias do modo do SharePoint <xref:Microsoft.SharePoint.SPBasePermissions.ViewListItems>

Aplica-se a