ReportingService2010.SetItemHistoryOptions Methode

Definition

Legt Elementverlaufsoptionen fest, die angeben, wann eine Elementverlaufs-Momentaufnahme für ein angegebenes Katalogelement erstellt wird. Diese Methode gilt für den Report-Elementtyp.

public:
 void SetItemHistoryOptions(System::String ^ ItemPath, bool EnableManualSnapshotCreation, bool KeepExecutionSnapshots, ReportService2010::ScheduleDefinitionOrReference ^ Item);
[System.Web.Services.Protocols.SoapDocumentMethod("http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/SetItemHistoryOptions", 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("TrustedUserHeaderValue")]
[System.Web.Services.Protocols.SoapHeader("ServerInfoHeaderValue", Direction=System.Web.Services.Protocols.SoapHeaderDirection.Out)]
public void SetItemHistoryOptions (string ItemPath, bool EnableManualSnapshotCreation, bool KeepExecutionSnapshots, ReportService2010.ScheduleDefinitionOrReference Item);
[<System.Web.Services.Protocols.SoapDocumentMethod("http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/SetItemHistoryOptions", 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("TrustedUserHeaderValue")>]
[<System.Web.Services.Protocols.SoapHeader("ServerInfoHeaderValue", Direction=System.Web.Services.Protocols.SoapHeaderDirection.Out)>]
member this.SetItemHistoryOptions : string * bool * bool * ReportService2010.ScheduleDefinitionOrReference -> unit
Public Sub SetItemHistoryOptions (ItemPath As String, EnableManualSnapshotCreation As Boolean, KeepExecutionSnapshots As Boolean, Item As ScheduleDefinitionOrReference)

Parameter

ItemPath
String

Die vollqualifizierte URL des Elements einschließlich des Dateinamens und (im SharePoint-Modus) der Erweiterung.

EnableManualSnapshotCreation
Boolean

Gibt an, ob Elementverlaufs-Momentaufnahmen durch die CreateItemHistorySnapshot(String, Warning[])-Webdienstmethode erstellt werden können. Standardwert: true.

KeepExecutionSnapshots
Boolean

Gibt an, ob Momentaufnahmen für die Elementausführung für den Elementverlauf gesammelt werden. Standardwert: false.

Item
ScheduleDefinitionOrReference

Das ScheduleDefinition-Objekt oder ScheduleReference-Objekt, das die Zeitplaninformationen für die Elementverlaufs-Momentaufnahme darstellt. Wenn die Elementverlaufs-Momentaufnahme nicht nach einem Zeitplan erstellt wird, übergeben Sie ein NoSchedule-Objekt für diesen Parameter.

Attribute

Hinweise

In der folgenden Tabelle werden Header- und Berechtigungsinformationen zu diesem Vorgang dargestellt.

SOAP-Headerverwendung (In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue
Erforderliche Berechtigungen im einheitlichen Modus UpdatePolicy UND CreateSnapshot
Erforderliche Berechtigungen im SharePoint-Modus <xref:Microsoft.SharePoint.SPBasePermissions.EditListItems>

Gilt für: