ReportingService2010.GetExecutionOptions Method

Returns the execution option and associated settings for an individual item. This method applies to the Report item type.

Namespace:  ReportService2010
Assembly:  ReportService2010 (in ReportService2010.dll)


<SoapHeaderAttribute("ServerInfoHeaderValue", Direction := SoapHeaderDirection.Out)> _
<SoapHeaderAttribute("TrustedUserHeaderValue")> _
<SoapDocumentMethodAttribute("", RequestNamespace := "",  _
    ResponseNamespace := "",  _
    Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Function GetExecutionOptions ( _
    ItemPath As String, _
    <OutAttribute> ByRef Item As ScheduleDefinitionOrReference _
) As String
Dim instance As ReportingService2010 
Dim ItemPath As String 
Dim Item As ScheduleDefinitionOrReference 
Dim returnValue As String 

returnValue = instance.GetExecutionOptions(ItemPath, _
[SoapHeaderAttribute("ServerInfoHeaderValue", Direction = SoapHeaderDirection.Out)]
[SoapDocumentMethodAttribute("", RequestNamespace = "", 
    ResponseNamespace = "", 
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public string GetExecutionOptions(
    string ItemPath,
    out ScheduleDefinitionOrReference Item
[SoapHeaderAttribute(L"ServerInfoHeaderValue", Direction = SoapHeaderDirection::Out)]
[SoapDocumentMethodAttribute(L"", RequestNamespace = L"", 
    ResponseNamespace = L"", 
    Use = SoapBindingUse::Literal, ParameterStyle = SoapParameterStyle::Wrapped)]
String^ GetExecutionOptions(
    String^ ItemPath, 
    [OutAttribute] ScheduleDefinitionOrReference^% Item
[<SoapHeaderAttribute("ServerInfoHeaderValue", Direction = SoapHeaderDirection.Out)>]
[<SoapDocumentMethodAttribute("", RequestNamespace = "", 
    ResponseNamespace = "", 
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)>]
member GetExecutionOptions : 
        ItemPath:string * 
        Item:ScheduleDefinitionOrReference byref -> string
public function GetExecutionOptions(
    ItemPath : String, 
    Item : ScheduleDefinitionOrReference
) : String


  • ItemPath
    Type: System.String
    The fully qualified URL of the item including the file name and, in SharePoint mode, the extension.

Return Value

Type: System.String
A String value that indicates the execution setting.


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

SOAP Header Usage

(In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue

Native Mode Required Permissions


SharePoint Mode Required Permissions


This method returns either a ScheduleDefinition object or a ScheduleReference object.

If the execution options for an item do not contain schedule information, the Item parameter is a NoSchedule object.

See Also


ReportingService2010 Class

ReportService2010 Namespace