Método GetReportHistoryOptions
Returns the report history snapshot option and properties that are generated for a report.
Namespace: ReportService2006
Assembly: ReportService2006 (em ReportService2006.dll)
Sintaxe
'Declaração
<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
'Uso
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
Parâmetros
- Report
Tipo: System. . :: . .String
The full path name of the report.
- KeepExecutionSnapshots
Tipo: System. . :: . .Boolean%
[out] A Boolean expression indicating whether report execution snapshots are collected for report history. The default value is false.
- Item
Tipo: ReportService2006. . :: . .ScheduleDefinitionOrReference%
[out] A ScheduleDefinitionOrReference object that represents a ScheduleDefinition object, a ScheduleReference object, or a NoSchedule object.
Valor de retorno
Tipo: System. . :: . .Boolean
true if report history is collected for the report; otherwise, false.
Consulte também