Méthode GetExecutionOptions

Retourne l'option d'exécution et les paramètres associés pour un rapport individuel.

Espace de noms :  ReportService2006
Assembly :  ReportService2006 (en ReportService2006.dll)

Syntaxe

'Déclaration
<SoapDocumentMethodAttribute("http://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices/GetExecutionOptions", RequestNamespace := "http://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices",  _
    ResponseNamespace := "http://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
'Utilisation
Dim instance As ReportingService2006
Dim Report As String
Dim Item As ScheduleDefinitionOrReference
Dim returnValue As ExecutionSettingEnum

returnValue = instance.GetExecutionOptions(Report, _
    Item)
[SoapDocumentMethodAttribute("http://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices/GetExecutionOptions", RequestNamespace = "http://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices", 
    ResponseNamespace = "http://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"http://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices/GetExecutionOptions", RequestNamespace = L"http://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices", 
    ResponseNamespace = L"http://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("http://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices/GetExecutionOptions", RequestNamespace = "http://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices", 
    ResponseNamespace = "http://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

Paramètres

  • Report
    Type : System. . :: . .String
    URL complète du rapport, y compris le nom de fichier et l'extension de nom de fichier .rdl.

Notes

The table below shows header and permissions information on this operation.

SOAP Headers

(In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue

Required Permissions

ViewListItems()()()()

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.