GetReportHistoryOptions メソッド
レポートで生成されたレポート履歴スナップショット オプションとプロパティを返します。
名前空間: ReportService2006
アセンブリ: ReportService2006 (ReportService2006.dll)
構文
'宣言
<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
'使用
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
パラメーター
- Report
型: System. . :: . .String
レポートの完全なパス名です。
- KeepExecutionSnapshots
型: System. . :: . .Boolean%
[out] レポート履歴のレポート実行スナップショットを収集するかどうかを示す Boolean 式です。既定値は false です。
- Item
型: ReportService2006. . :: . .ScheduleDefinitionOrReference%
[out] ScheduleDefinition オブジェクト、ScheduleReference オブジェクト、または NoSchedule オブジェクトを表す ScheduleDefinitionOrReference オブジェクトです。
戻り値
型: System. . :: . .Boolean
レポートでレポート履歴を収集する場合は true、収集しない場合は false です。