ReportingService2006.SetReportHistoryOptions Méthode

Définition

Définit des options d'historique de rapport qui spécifient à quel moment un instantané d'historique de rapport est créé pour un rapport spécifié.

public:
 void SetReportHistoryOptions(System::String ^ Report, bool EnableManualSnapshotCreation, bool KeepExecutionSnapshots, ReportService2006::ScheduleDefinitionOrReference ^ Item);
public void SetReportHistoryOptions (string Report, bool EnableManualSnapshotCreation, bool KeepExecutionSnapshots, ReportService2006.ScheduleDefinitionOrReference Item);
member this.SetReportHistoryOptions : string * bool * bool * ReportService2006.ScheduleDefinitionOrReference -> unit
Public Sub SetReportHistoryOptions (Report As String, EnableManualSnapshotCreation As Boolean, KeepExecutionSnapshots As Boolean, Item As ScheduleDefinitionOrReference)

Paramètres

Report
String

URL complète du rapport, y compris le nom de fichier et l'extension de nom de fichier .rdl.

EnableManualSnapshotCreation
Boolean

Indique si les instantanés d'historique de rapport peuvent être créés via la méthode CreateReportHistorySnapshot(String, Warning[]) du service Web. La valeur par défaut est true.

KeepExecutionSnapshots
Boolean

Indique si les instantanés d'exécution de rapport sont collectés pour l'historique de rapport. La valeur par défaut est false.

Item
ScheduleDefinitionOrReference

Objet ScheduleDefinition ou ScheduleReference qui représente les informations de planification pour l'instantané d'historique de rapport. Si l'instantané d'historique de rapport n'est pas créé selon une planification, passez un objet NoSchedule pour ce paramètre.

Remarques

Le tableau suivant présente les informations relatives aux en-têtes et aux autorisations sur cette opération.

En-têtes SOAP (In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue
Autorisations requises <xref:Microsoft.SharePoint.SPBasePermissions.EditListItems>

S’applique à