Metodo SetReportHistoryOptions
Imposta le opzioni della cronologia del report che specificano quando viene creato uno snapshot della cronologia per un report specificato.
Spazio dei nomi ReportService2006
Assembly: ReportService2006 (in ReportService2006.dll)
Sintassi
'Dichiarazione
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices/SetReportHistoryOptions", RequestNamespace := "https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices", _
ResponseNamespace := "https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices", _
Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
<SoapHeaderAttribute("TrustedUserHeaderValue")> _
<SoapHeaderAttribute("ServerInfoHeaderValue", Direction := SoapHeaderDirection.Out)> _
Public Sub SetReportHistoryOptions ( _
Report As String, _
EnableManualSnapshotCreation As Boolean, _
KeepExecutionSnapshots As Boolean, _
Item As ScheduleDefinitionOrReference _
)
'Utilizzo
Dim instance As ReportingService2006
Dim Report As String
Dim EnableManualSnapshotCreation As Boolean
Dim KeepExecutionSnapshots As Boolean
Dim Item As ScheduleDefinitionOrReference
instance.SetReportHistoryOptions(Report, _
EnableManualSnapshotCreation, KeepExecutionSnapshots, _
Item)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices/SetReportHistoryOptions", RequestNamespace = "https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices",
ResponseNamespace = "https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices",
Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
[SoapHeaderAttribute("TrustedUserHeaderValue")]
[SoapHeaderAttribute("ServerInfoHeaderValue", Direction = SoapHeaderDirection.Out)]
public void SetReportHistoryOptions(
string Report,
bool EnableManualSnapshotCreation,
bool KeepExecutionSnapshots,
ScheduleDefinitionOrReference Item
)
[SoapDocumentMethodAttribute(L"https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices/SetReportHistoryOptions", RequestNamespace = L"https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices",
ResponseNamespace = L"https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices",
Use = SoapBindingUse::Literal, ParameterStyle = SoapParameterStyle::Wrapped)]
[SoapHeaderAttribute(L"TrustedUserHeaderValue")]
[SoapHeaderAttribute(L"ServerInfoHeaderValue", Direction = SoapHeaderDirection::Out)]
public:
void SetReportHistoryOptions(
String^ Report,
bool EnableManualSnapshotCreation,
bool KeepExecutionSnapshots,
ScheduleDefinitionOrReference^ Item
)
[<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices/SetReportHistoryOptions", RequestNamespace = "https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices",
ResponseNamespace = "https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices",
Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)>]
[<SoapHeaderAttribute("TrustedUserHeaderValue")>]
[<SoapHeaderAttribute("ServerInfoHeaderValue", Direction = SoapHeaderDirection.Out)>]
member SetReportHistoryOptions :
Report:string *
EnableManualSnapshotCreation:bool *
KeepExecutionSnapshots:bool *
Item:ScheduleDefinitionOrReference -> unit
public function SetReportHistoryOptions(
Report : String,
EnableManualSnapshotCreation : boolean,
KeepExecutionSnapshots : boolean,
Item : ScheduleDefinitionOrReference
)
Parametri
- Report
Tipo: System. . :: . .String
URL completo del report, inclusi il nome file e l'estensione rdl.
- EnableManualSnapshotCreation
Tipo: System. . :: . .Boolean
Indica se gli snapshot della cronologia del report possono essere creati tramite il metodo CreateReportHistorySnapshot del servizio Web. Il valore predefinito è true.
- KeepExecutionSnapshots
Tipo: System. . :: . .Boolean
Indica se gli snapshot di esecuzione del report vengono raccolti per la cronologia del report. Il valore predefinito è false.
- Item
Tipo: ReportService2006. . :: . .ScheduleDefinitionOrReference
Oggetto ScheduleDefinition o ScheduleReference che rappresenta le informazioni sulla pianificazione per lo snapshot della cronologia del report. Se lo snapshot della cronologia del report non viene creato in base a una pianificazione, passare un oggetto NoSchedule per questo parametro.
Osservazioni
The table below shows header and permissions information on this operation.
SOAP Headers |
(Out) ServerInfoHeaderValue |
Required Permissions |
EditListItems()()()() |