GetExecutionOptions-Methode
Gibt die Ausführungsoption und die zugehörigen Einstellungen für einen einzelnen Bericht zurück.
Namespace: ReportService2005
Assembly: ReportService2005 (in ReportService2005.dll)
Syntax
'Declaration
<SoapHeaderAttribute("ServerInfoHeaderValue", Direction := SoapHeaderDirection.Out)> _
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices/GetExecutionOptions", RequestNamespace := "https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices", _
ResponseNamespace := "https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices", _
Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Function GetExecutionOptions ( _
Report As String, _
<OutAttribute> ByRef Item As ScheduleDefinitionOrReference _
) As ExecutionSettingEnum
'Usage
Dim instance As ReportingService2005
Dim Report As String
Dim Item As ScheduleDefinitionOrReference
Dim returnValue As ExecutionSettingEnum
returnValue = instance.GetExecutionOptions(Report, _
Item)
[SoapHeaderAttribute("ServerInfoHeaderValue", Direction = SoapHeaderDirection.Out)]
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices/GetExecutionOptions", RequestNamespace = "https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices",
ResponseNamespace = "https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices",
Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public ExecutionSettingEnum GetExecutionOptions(
string Report,
out ScheduleDefinitionOrReference Item
)
[SoapHeaderAttribute(L"ServerInfoHeaderValue", Direction = SoapHeaderDirection::Out)]
[SoapDocumentMethodAttribute(L"https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices/GetExecutionOptions", RequestNamespace = L"https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices",
ResponseNamespace = L"https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices",
Use = SoapBindingUse::Literal, ParameterStyle = SoapParameterStyle::Wrapped)]
public:
ExecutionSettingEnum GetExecutionOptions(
String^ Report,
[OutAttribute] ScheduleDefinitionOrReference^% Item
)
[<SoapHeaderAttribute("ServerInfoHeaderValue", Direction = SoapHeaderDirection.Out)>]
[<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices/GetExecutionOptions", RequestNamespace = "https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices",
ResponseNamespace = "https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices",
Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)>]
member GetExecutionOptions :
Report:string *
Item:ScheduleDefinitionOrReference byref -> ExecutionSettingEnum
public function GetExecutionOptions(
Report : String,
Item : ScheduleDefinitionOrReference
) : ExecutionSettingEnum
Parameter
- Report
Typ: System. . :: . .String
Der vollständige Pfadname des Berichts.
- Item
Typ: ReportService2005. . :: . .ScheduleDefinitionOrReference%
[out] Ein ScheduleDefinitionOrReference-Objekt, das eine Zeitplandefinition oder einen Verweis auf einen freigegebenen Zeitplan darstellt.
Rückgabewert
Typ: ReportService2005. . :: . .ExecutionSettingEnum
Ein ExecutionSettingEnum-Wert.
Hinweise
The table below shows header and permissions information on this operation.
SOAP Headers |
(Out) ServerInfoHeaderValue |
Required Permissions |
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 null Nothing nullptr unit ein NULL-Verweis (Nothing in Visual Basic) (Nothing in Visual Basic).