ReportingService2006.GetReportHistoryOptions Method
Returns the report history snapshot option and properties that are generated for a report.
Namespace: ReportService2006
Assembly: ReportService2006 (in ReportService2006.dll)
Syntax
'Declaration
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices/GetReportHistoryOptions", 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 Function GetReportHistoryOptions ( _
Report As String, _
<OutAttribute> ByRef KeepExecutionSnapshots As Boolean, _
<OutAttribute> ByRef Item As ScheduleDefinitionOrReference _
) As Boolean
'Usage
Dim instance As ReportingService2006
Dim Report As String
Dim KeepExecutionSnapshots As Boolean
Dim Item As ScheduleDefinitionOrReference
Dim returnValue As Boolean
returnValue = instance.GetReportHistoryOptions(Report, _
KeepExecutionSnapshots, Item)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices/GetReportHistoryOptions", 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 bool GetReportHistoryOptions(
string Report,
out bool KeepExecutionSnapshots,
out ScheduleDefinitionOrReference Item
)
[SoapDocumentMethodAttribute(L"https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices/GetReportHistoryOptions", 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:
bool GetReportHistoryOptions(
String^ Report,
[OutAttribute] bool% KeepExecutionSnapshots,
[OutAttribute] ScheduleDefinitionOrReference^% Item
)
[<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices/GetReportHistoryOptions", 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 GetReportHistoryOptions :
Report:string *
KeepExecutionSnapshots:bool byref *
Item:ScheduleDefinitionOrReference byref -> bool
public function GetReportHistoryOptions(
Report : String,
KeepExecutionSnapshots : boolean,
Item : ScheduleDefinitionOrReference
) : boolean
Parameters
- Report
Type: System.String
The full path name of the report.
- KeepExecutionSnapshots
Type: System.Boolean%
[out] A Boolean expression indicating whether report execution snapshots are collected for report history. The default value is false.
- Item
Type: ReportService2006.ScheduleDefinitionOrReference%
[out] A ScheduleDefinitionOrReference object that represents a ScheduleDefinition object, a ScheduleReference object, or a NoSchedule object.
Return Value
Type: System.Boolean
true if report history is collected for the report; otherwise, false.
See Also