共用方式為


ReportingService2005.GetExecutionOptions 方法

Returns the execution option and associated settings for an individual report.

命名空間:  ReportService2005
組件:  ReportService2005 (在 ReportService2005.dll 中)

語法

'宣告
Public Function GetExecutionOptions ( _
    Report As String, _
    <OutAttribute> ByRef Item As ScheduleDefinitionOrReference _
) As ExecutionSettingEnum
'用途
Dim instance As ReportingService2005 
Dim Report As String 
Dim Item As ScheduleDefinitionOrReference 
Dim returnValue As ExecutionSettingEnum 

returnValue = instance.GetExecutionOptions(Report, _
    Item)
public ExecutionSettingEnum GetExecutionOptions(
    string Report,
    out ScheduleDefinitionOrReference Item
)
public:
ExecutionSettingEnum GetExecutionOptions(
    String^ Report, 
    [OutAttribute] ScheduleDefinitionOrReference^% Item
)
member GetExecutionOptions : 
        Report:string * 
        Item:ScheduleDefinitionOrReference byref -> ExecutionSettingEnum
public function GetExecutionOptions(
    Report : String, 
    Item : ScheduleDefinitionOrReference
) : ExecutionSettingEnum

參數

  • Report
    型別:System.String
    The full path name of the report.

傳回值

型別:ReportService2005.ExecutionSettingEnum
A ExecutionSettingEnum value.

備註

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

SOAP Headers

(Out) ServerInfoHeaderValue

Required Permissions

ReadPolicy

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 nullnull 參考 (在 Visual Basic 中為 Nothing) (Nothing in Visual Basic).

請參閱

參考

ReportingService2005 類別

ReportService2005 命名空間