Udostępnij za pośrednictwem


Metoda ReportingService2005.GetExecutionOptions

Zwraca opcja wykonania i skojarzone ustawienia dla konkretnego raportu.

Przestrzeń nazw:  ReportService2005
Zestaw:  ReportService2005 (w ReportService2005.dll)

Składnia

'Deklaracja
<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
'Użycie
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

Parametry

Wartość zwracana

Typ: ReportService2005.ExecutionSettingEnum
A ExecutionSettingEnum wartości.

Uwagi

W poniższej tabela przedstawiono informacje nagłówka i uprawnienia na tej operacji.

Nagłówki SOAP

(Ruch wychodzący)ServerInfoHeaderValue

Wymagane uprawnienia

ReadPolicy

GetExecutionOptions Metoda zwraca albo ScheduleDefinition obiektu lub ScheduleReference obiektu.

Jeśli opcje wykonanie raportu nie zawierają informacji o harmonogramie Item parametr jest nullodwołanie o wartości null (Nothing w języku Visual Basic) (nic nie w języku Visual Basic).