GetExecutionOptions 方法
Returns the execution option and associated settings for an individual report.
命名空間: ReportService2006
組件: ReportService2006 (在 ReportService2006.dll 中)
語法
'宣告
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices/GetExecutionOptions", 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 GetExecutionOptions ( _
Report As String, _
<OutAttribute> ByRef Item As ScheduleDefinitionOrReference _
) As ExecutionSettingEnum
'用途
Dim instance As ReportingService2006
Dim Report As String
Dim Item As ScheduleDefinitionOrReference
Dim returnValue As ExecutionSettingEnum
returnValue = instance.GetExecutionOptions(Report, _
Item)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices/GetExecutionOptions", 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 ExecutionSettingEnum GetExecutionOptions(
string Report,
out ScheduleDefinitionOrReference Item
)
[SoapDocumentMethodAttribute(L"https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices/GetExecutionOptions", 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:
ExecutionSettingEnum GetExecutionOptions(
String^ Report,
[OutAttribute] ScheduleDefinitionOrReference^% Item
)
[<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices/GetExecutionOptions", 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 GetExecutionOptions :
Report:string *
Item:ScheduleDefinitionOrReference byref -> ExecutionSettingEnum
public function GetExecutionOptions(
Report : String,
Item : ScheduleDefinitionOrReference
) : ExecutionSettingEnum
參數
- Report
型別:System. . :: . .String
The fully qualified URL of the report including the file name and .rdl file name extension.
- Item
型別:ReportService2006. . :: . .ScheduleDefinitionOrReference%
[out] A ScheduleDefinitionOrReference object that represents a schedule definition or reference to a shared schedule.
傳回值
型別:ReportService2006. . :: . .ExecutionSettingEnum
A ExecutionSettingEnum value.
備註
The GetExecutionOptions method returns either a ScheduleDefinition object or a ScheduleReference object.
If the execution options for a report do not contain schedule information, the Item parameter is a NoSchedule object.